[INFO] fetching crate sapio-secp256k1 0.28.1... [INFO] testing sapio-secp256k1-0.28.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sapio-secp256k1 0.28.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate sapio-secp256k1 0.28.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sapio-secp256k1 0.28.1 [INFO] tweaked toml for crates.io crate sapio-secp256k1 0.28.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sapio-secp256k1 0.28.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sapio-secp256k1 0.28.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.29 [INFO] [stderr] Downloaded serde_test v1.0.136 [INFO] [stderr] Downloaded serde_cbor v0.10.2 [INFO] [stderr] Downloaded iri-string v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.29 [INFO] [stderr] Downloaded jsonschema-valid v0.4.0 [INFO] [stderr] Downloaded sapio-secp256k1-sys v0.9.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c4805804a6c83eed29de6b94f4bb436814e36cec6dba699b71c6aa1e3b69bf3 [INFO] running `Command { std: "docker" "start" "-a" "5c4805804a6c83eed29de6b94f4bb436814e36cec6dba699b71c6aa1e3b69bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c4805804a6c83eed29de6b94f4bb436814e36cec6dba699b71c6aa1e3b69bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4805804a6c83eed29de6b94f4bb436814e36cec6dba699b71c6aa1e3b69bf3", kill_on_drop: false }` [INFO] [stdout] 5c4805804a6c83eed29de6b94f4bb436814e36cec6dba699b71c6aa1e3b69bf3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c27dd1bef6ec80150b2faf0a58041952f8828846e1264d04d0612ed02ff4addd [INFO] running `Command { std: "docker" "start" "-a" "c27dd1bef6ec80150b2faf0a58041952f8828846e1264d04d0612ed02ff4addd", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling sapio-secp256k1-sys v0.9.2 [INFO] [stderr] Compiling sapio-secp256k1 v0.28.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | #![cfg_attr(bench, feature(test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [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 name: `bench` [INFO] [stdout] --> src/lib.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:1063:7 [INFO] [stdout] | [INFO] [stdout] 1063 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/key.rs:2462:7 [INFO] [stdout] | [INFO] [stdout] 2462 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/ecdh.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ecdsa/mod.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 427 | #[cfg(secp256k1_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [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 5.68s [INFO] running `Command { std: "docker" "inspect" "c27dd1bef6ec80150b2faf0a58041952f8828846e1264d04d0612ed02ff4addd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27dd1bef6ec80150b2faf0a58041952f8828846e1264d04d0612ed02ff4addd", kill_on_drop: false }` [INFO] [stdout] c27dd1bef6ec80150b2faf0a58041952f8828846e1264d04d0612ed02ff4addd [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ee440e4341ea6b12ec5da9a422ea672aa8aebd4e9c96765857a5311c3bbe2b8 [INFO] running `Command { std: "docker" "start" "-a" "0ee440e4341ea6b12ec5da9a422ea672aa8aebd4e9c96765857a5311c3bbe2b8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_test v1.0.136 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | #![cfg_attr(bench, feature(test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [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 name: `bench` [INFO] [stdout] --> src/lib.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:1063:7 [INFO] [stdout] | [INFO] [stdout] 1063 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/key.rs:2462:7 [INFO] [stdout] | [INFO] [stdout] 2462 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/ecdh.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ecdsa/mod.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 427 | #[cfg(secp256k1_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling iri-string v0.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_cbor v0.10.2 [INFO] [stderr] Compiling json-pointer v0.3.4 [INFO] [stderr] Compiling jsonschema-valid v0.4.0 [INFO] [stderr] Compiling sapio-secp256k1 v0.28.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | #![cfg_attr(bench, feature(test))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [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 name: `bench` [INFO] [stdout] --> src/lib.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:1063:7 [INFO] [stdout] | [INFO] [stdout] 1063 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/key.rs:2462:7 [INFO] [stdout] | [INFO] [stdout] 2462 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:1570:15 [INFO] [stdout] | [INFO] [stdout] 1570 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:1620:36 [INFO] [stdout] | [INFO] [stdout] 1620 | #[cfg(all(feature = "std", not(secp256k1_fuzz)))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:1865:15 [INFO] [stdout] | [INFO] [stdout] 1865 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:1999:15 [INFO] [stdout] | [INFO] [stdout] 1999 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2023:15 [INFO] [stdout] | [INFO] [stdout] 2023 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2051:15 [INFO] [stdout] | [INFO] [stdout] 2051 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2075:15 [INFO] [stdout] | [INFO] [stdout] 2075 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2243:19 [INFO] [stdout] | [INFO] [stdout] 2243 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2276:19 [INFO] [stdout] | [INFO] [stdout] 2276 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2286:19 [INFO] [stdout] | [INFO] [stdout] 2286 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2297:19 [INFO] [stdout] | [INFO] [stdout] 2297 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2309:19 [INFO] [stdout] | [INFO] [stdout] 2309 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2318:19 [INFO] [stdout] | [INFO] [stdout] 2318 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2329:19 [INFO] [stdout] | [INFO] [stdout] 2329 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2342:19 [INFO] [stdout] | [INFO] [stdout] 2342 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2355:19 [INFO] [stdout] | [INFO] [stdout] 2355 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2368:19 [INFO] [stdout] | [INFO] [stdout] 2368 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:2392:15 [INFO] [stdout] | [INFO] [stdout] 2392 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:1770:19 [INFO] [stdout] | [INFO] [stdout] 1770 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:1776:19 [INFO] [stdout] | [INFO] [stdout] 1776 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/key.rs:1778:15 [INFO] [stdout] | [INFO] [stdout] 1778 | #[cfg(secp256k1_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/ecdh.rs:277:7 [INFO] [stdout] | [INFO] [stdout] 277 | #[cfg(bench)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ecdh.rs:227:15 [INFO] [stdout] | [INFO] [stdout] 227 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ecdsa/mod.rs:427:23 [INFO] [stdout] | [INFO] [stdout] 427 | #[cfg(secp256k1_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ellswift.rs:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ellswift.rs:329:19 [INFO] [stdout] | [INFO] [stdout] 329 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ellswift.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ellswift.rs:346:19 [INFO] [stdout] | [INFO] [stdout] 346 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ellswift.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ellswift.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 380 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/ellswift.rs:597:15 [INFO] [stdout] | [INFO] [stdout] 597 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/schnorr.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/schnorr.rs:261:15 [INFO] [stdout] | [INFO] [stdout] 261 | #[cfg(not(secp256k1_fuzz))] // fixed sig vectors can't work with fuzz-sigs [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/schnorr.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | #[cfg(not(secp256k1_fuzz))] // fixed sig vectors can't work with fuzz-sigs [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/schnorr.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/schnorr.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | #[cfg(not(secp256k1_fuzz))] // fixed sig vectors can't work with fuzz-sigs [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/schnorr.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/schnorr.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 379 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/schnorr.rs:395:15 [INFO] [stdout] | [INFO] [stdout] 395 | #[cfg(secp256k1_fuzz)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/lib.rs:919:15 [INFO] [stdout] | [INFO] [stdout] 919 | #[cfg(not(secp256k1_fuzz))] // fuzz-sigs have fixed size/format [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/lib.rs:938:15 [INFO] [stdout] | [INFO] [stdout] 938 | #[cfg(not(secp256k1_fuzz))] // fixed sig vectors can't work with fuzz-sigs [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/lib.rs:961:15 [INFO] [stdout] | [INFO] [stdout] 961 | #[cfg(not(secp256k1_fuzz))] // fuzz-sigs have fixed size/format [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/lib.rs:979:15 [INFO] [stdout] | [INFO] [stdout] 979 | #[cfg(not(secp256k1_fuzz))] // fuzz-sigs have fixed size/format [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [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 32.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.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" "0ee440e4341ea6b12ec5da9a422ea672aa8aebd4e9c96765857a5311c3bbe2b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ee440e4341ea6b12ec5da9a422ea672aa8aebd4e9c96765857a5311c3bbe2b8", kill_on_drop: false }` [INFO] [stdout] 0ee440e4341ea6b12ec5da9a422ea672aa8aebd4e9c96765857a5311c3bbe2b8 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ccb8a0e91bb99f2dd76e928a022459ec9251e4003779b11df4e40cc6a75097e [INFO] running `Command { std: "docker" "start" "-a" "9ccb8a0e91bb99f2dd76e928a022459ec9251e4003779b11df4e40cc6a75097e", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/lib.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | #![cfg_attr(bench, feature(test))] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [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 name: `bench` [INFO] [stderr] --> src/lib.rs:151:7 [INFO] [stderr] | [INFO] [stderr] 151 | #[cfg(bench)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/lib.rs:1063:7 [INFO] [stderr] | [INFO] [stderr] 1063 | #[cfg(bench)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/key.rs:2462:7 [INFO] [stderr] | [INFO] [stderr] 2462 | #[cfg(bench)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/ecdh.rs:277:7 [INFO] [stderr] | [INFO] [stderr] 277 | #[cfg(bench)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/ecdsa/mod.rs:427:23 [INFO] [stderr] | [INFO] [stderr] 427 | #[cfg(secp256k1_fuzz)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `sapio-secp256k1` (lib) generated 6 warnings [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:1570:15 [INFO] [stderr] | [INFO] [stderr] 1570 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:1620:36 [INFO] [stderr] | [INFO] [stderr] 1620 | #[cfg(all(feature = "std", not(secp256k1_fuzz)))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:1865:15 [INFO] [stderr] | [INFO] [stderr] 1865 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:1999:15 [INFO] [stderr] | [INFO] [stderr] 1999 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2023:15 [INFO] [stderr] | [INFO] [stderr] 2023 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2051:15 [INFO] [stderr] | [INFO] [stderr] 2051 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2075:15 [INFO] [stderr] | [INFO] [stderr] 2075 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2243:19 [INFO] [stderr] | [INFO] [stderr] 2243 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2276:19 [INFO] [stderr] | [INFO] [stderr] 2276 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2286:19 [INFO] [stderr] | [INFO] [stderr] 2286 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2297:19 [INFO] [stderr] | [INFO] [stderr] 2297 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2309:19 [INFO] [stderr] | [INFO] [stderr] 2309 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2318:19 [INFO] [stderr] | [INFO] [stderr] 2318 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2329:19 [INFO] [stderr] | [INFO] [stderr] 2329 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2342:19 [INFO] [stderr] | [INFO] [stderr] 2342 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2355:19 [INFO] [stderr] | [INFO] [stderr] 2355 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2368:19 [INFO] [stderr] | [INFO] [stderr] 2368 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:2392:15 [INFO] [stderr] | [INFO] [stderr] 2392 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:1770:19 [INFO] [stderr] | [INFO] [stderr] 1770 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:1776:19 [INFO] [stderr] | [INFO] [stderr] 1776 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/key.rs:1778:15 [INFO] [stderr] | [INFO] [stderr] 1778 | #[cfg(secp256k1_fuzz)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/ecdh.rs:227:15 [INFO] [stderr] | [INFO] [stderr] 227 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/ellswift.rs:327:19 [INFO] [stderr] | [INFO] [stderr] 327 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/ellswift.rs:329:19 [INFO] [stderr] | [INFO] [stderr] 329 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/ellswift.rs:334:19 [INFO] [stderr] | [INFO] [stderr] 334 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/ellswift.rs:346:19 [INFO] [stderr] | [INFO] [stderr] 346 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/ellswift.rs:359:19 [INFO] [stderr] | [INFO] [stderr] 359 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/ellswift.rs:380:19 [INFO] [stderr] | [INFO] [stderr] 380 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/ellswift.rs:597:15 [INFO] [stderr] | [INFO] [stderr] 597 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/schnorr.rs:205:19 [INFO] [stderr] | [INFO] [stderr] 205 | #[cfg(all(not(secp256k1_fuzz), feature = "alloc"))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/schnorr.rs:261:15 [INFO] [stderr] | [INFO] [stderr] 261 | #[cfg(not(secp256k1_fuzz))] // fixed sig vectors can't work with fuzz-sigs [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/schnorr.rs:282:15 [INFO] [stderr] | [INFO] [stderr] 282 | #[cfg(not(secp256k1_fuzz))] // fixed sig vectors can't work with fuzz-sigs [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/schnorr.rs:443:15 [INFO] [stderr] | [INFO] [stderr] 443 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/schnorr.rs:459:15 [INFO] [stderr] | [INFO] [stderr] 459 | #[cfg(not(secp256k1_fuzz))] // fixed sig vectors can't work with fuzz-sigs [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/schnorr.rs:368:19 [INFO] [stderr] | [INFO] [stderr] 368 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/schnorr.rs:379:19 [INFO] [stderr] | [INFO] [stderr] 379 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/schnorr.rs:395:15 [INFO] [stderr] | [INFO] [stderr] 395 | #[cfg(secp256k1_fuzz)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/lib.rs:919:15 [INFO] [stderr] | [INFO] [stderr] 919 | #[cfg(not(secp256k1_fuzz))] // fuzz-sigs have fixed size/format [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/lib.rs:938:15 [INFO] [stderr] | [INFO] [stderr] 938 | #[cfg(not(secp256k1_fuzz))] // fixed sig vectors can't work with fuzz-sigs [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/lib.rs:961:15 [INFO] [stderr] | [INFO] [stderr] 961 | #[cfg(not(secp256k1_fuzz))] // fuzz-sigs have fixed size/format [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stderr] --> src/lib.rs:979:15 [INFO] [stderr] | [INFO] [stderr] 979 | #[cfg(not(secp256k1_fuzz))] // fuzz-sigs have fixed size/format [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `sapio-secp256k1` (lib test) generated 47 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.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/sapio_secp256k1-f54876024f22ca06) [INFO] [stdout] [INFO] [stdout] running 44 tests [INFO] [stdout] test ecdh::tests::test_c_callback ... ok [INFO] [stdout] test ecdsa::serialized_signature::tests::iterator_ops_are_homomorphic ... ok [INFO] [stdout] test key::test::convert_keypair_to_public_key ... ok [INFO] [stdout] test key::test::convert_public_key_to_xonly_public_key ... ok [INFO] [stdout] test ellswift::tests::test_create_elligator_swift_create_rtt ... ok [INFO] [stdout] test ellswift::tests::test_xdh_with_custom_hasher ... ok [INFO] [stdout] test key::test::convert_secret_key_to_public_key ... ok [INFO] [stdout] test ellswift::tests::test_elligator_swift_rtt ... ok [INFO] [stdout] test key::test::convert_secret_key_to_x_only_public_key ... ok [INFO] [stdout] test key::test::invalid_secret_key ... ok [INFO] [stdout] test key::test::pubkey_combine ... ok [INFO] [stdout] test key::test::convert_keypair_to_x_only_public_key ... ok [INFO] [stdout] test key::test::pubkey_combine_keys ... ok [INFO] [stdout] test key::test::pubkey_combine_keys_empty_slice ... ok [INFO] [stdout] test ellswift::tests::ellswift_ecdh_test ... ok [INFO] [stdout] test key::test::erased_keypair_is_valid ... ok [INFO] [stdout] test key::test::roundtrip_public_key_via_x_only_public_key ... ok [INFO] [stdout] test key::test::public_key_from_x_only_public_key_and_odd_parity ... ok [INFO] [stdout] test key::test::roundtrip_secret_key_via_keypair ... ok [INFO] [stdout] test key::test::pubkey_equal ... ok [INFO] [stdout] test key::test::roundtrip_x_only_public_key_via_public_key ... ok [INFO] [stdout] test key::test::pubkey_from_slice ... ok [INFO] [stdout] test key::test::roundtrip_keypair_via_secret_key ... ok [INFO] [stdout] test schnorr::tests::schnorr_sign ... ok [INFO] [stdout] test schnorr::tests::schnorr_verify ... ok [INFO] [stdout] test schnorr::tests::test_pubkey_display_output ... ok [INFO] [stdout] test key::test::skey_from_slice ... ok [INFO] [stdout] test schnorr::tests::test_pubkey_from_bad_slice ... ok [INFO] [stdout] test schnorr::tests::test_pubkey_from_slice ... ok [INFO] [stdout] test key::test::test_display_output ... ok [INFO] [stdout] test schnorr::tests::test_serialize ... ok [INFO] [stdout] test key::test::test_from_key_pubkey ... ok [INFO] [stdout] test key::test::test_pubkey_from_bad_slice ... ok [INFO] [stdout] test key::test::test_seckey_from_bad_slice ... ok [INFO] [stdout] test tests::signature_lax_der ... ok [INFO] [stdout] test tests::test_bad_slice ... ok [INFO] [stdout] test ellswift::tests::ellswift_decode_test ... ok [INFO] [stdout] test schnorr::tests::test_xonly_key_extraction ... ok [INFO] [stdout] test tests::signature_display ... ok [INFO] [stdout] test tests::test_low_r ... ok [INFO] [stdout] test tests::test_noncedata ... ok [INFO] [stdout] test tests::test_panic_raw_ctx_should_terminate_abnormally ... ignored [INFO] [stdout] test tests::test_low_s ... ok [INFO] [stderr] Running tests/serde.rs (/opt/rustwide/target/debug/deps/serde-d49d9e1cf72be666) [INFO] [stdout] test tests::test_grind_r ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 43 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests sapio_secp256k1 [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 27 tests [INFO] [stdout] test src/ellswift.rs - ellswift::ElligatorSwift::from_pubkey (line 138) ... FAILED [INFO] [stdout] test src/ellswift.rs - ellswift::ElligatorSwift::from_seckey (line 109) ... FAILED [INFO] [stdout] test src/ecdsa/mod.rs - ecdsa::Secp256k1::verify_ecdsa (line 467) ... ok [INFO] [stdout] test src/context.rs - context::alloc_only::Secp256k1::gen_new (line 186) ... ok [INFO] [stdout] test src/ellswift.rs - ellswift::ElligatorSwift::shared_secret (line 153) ... FAILED [INFO] [stdout] test src/key.rs - key::Keypair::add_xonly_tweak (line 936) ... ok [INFO] [stdout] test src/ecdh.rs - ecdh::SharedSecret (line 22) ... ok [INFO] [stdout] test src/key.rs - key::PublicKey (line 139) ... FAILED [INFO] [stdout] test src/key.rs - key::Keypair (line 792) ... ok [INFO] [stdout] test src/ecdh.rs - ecdh::shared_secret_point (line 112) ... ok [INFO] [stdout] test src/key.rs - key::SecretKey::from_slice (line 216) ... FAILED [INFO] [stdout] test src/key.rs - key::PublicKey::combine (line 631) ... ok [INFO] [stdout] test src/key.rs - key::PublicKey::combine_keys (line 657) ... ok [INFO] [stdout] test src/key.rs - key::PublicKey::from_keypair (line 498) ... ok [INFO] [stdout] test src/key.rs - key::XOnlyPublicKey (line 1110) ... ok [INFO] [stdout] test src/key.rs - key::PublicKey::from_secret_key (line 440) ... ok [INFO] [stdout] test src/key.rs - key::SecretKey::from_keypair (line 243) ... ok [INFO] [stdout] test src/key.rs - key::SecretKey (line 46) ... ok [INFO] [stdout] test src/lib.rs - (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... ok [INFO] [stdout] test src/lib.rs - (line 82) ... FAILED [INFO] [stdout] test src/key.rs - key::XOnlyPublicKey::add_tweak (line 1242) ... ok [INFO] [stdout] test src/secret.rs - secret::Keypair::display_secret (line 139) ... FAILED [INFO] [stdout] test src/secret.rs - secret::SharedSecret::display_secret (line 172) ... FAILED [INFO] [stdout] test src/key.rs - key::XOnlyPublicKey::tweak_add_check (line 1302) ... ok [INFO] [stdout] test src/secret.rs - secret::SecretKey::display_secret (line 105) ... FAILED [INFO] [stdout] test src/lib.rs - (line 47) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ellswift.rs - ellswift::ElligatorSwift::from_pubkey (line 138) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] --> src/ellswift.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{ellswift::ElligatorSwift, PublicKey, Secp256k1, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/ellswift.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{ellswift::ElligatorSwift, PublicKey, Secp256k1, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ellswift.rs - ellswift::ElligatorSwift::from_seckey (line 109) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] --> src/ellswift.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{ellswift::ElligatorSwift, PublicKey, Secp256k1, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/ellswift.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{ellswift::ElligatorSwift, PublicKey, Secp256k1, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ellswift.rs - ellswift::ElligatorSwift::shared_secret (line 153) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] --> src/ellswift.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/ellswift.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/key.rs - key::PublicKey (line 139) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/key.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{SecretKey, Secp256k1, PublicKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` 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/key.rs - key::SecretKey::from_slice (line 216) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/key.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 3 | use secp256k1::SecretKey; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` 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 64) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{Secp256k1, Message, SecretKey, PublicKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` 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 82) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{Secp256k1, Message, ecdsa, PublicKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/lib.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(not(secp256k1_fuzz))] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/secret.rs - secret::Keypair::display_secret (line 139) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/secret.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 5 | use secp256k1::{Keypair, Secp256k1, SecretKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` 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/secret.rs - secret::SharedSecret::display_secret (line 172) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] --> src/secret.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 7 | use secp256k1::ecdh::SharedSecret; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/secret.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 6 | use secp256k1::{SecretKey, PublicKey}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `secp256k1_fuzz` [INFO] [stdout] --> src/secret.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(secp256k1_fuzz))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(secp256k1_fuzz)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(secp256k1_fuzz)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/secret.rs - secret::SecretKey::display_secret (line 105) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/secret.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 5 | use secp256k1::SecretKey; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` 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] [INFO] [stdout] failures: [INFO] [stdout] src/ellswift.rs - ellswift::ElligatorSwift::from_pubkey (line 138) [INFO] [stdout] src/ellswift.rs - ellswift::ElligatorSwift::from_seckey (line 109) [INFO] [stdout] src/ellswift.rs - ellswift::ElligatorSwift::shared_secret (line 153) [INFO] [stdout] src/key.rs - key::PublicKey (line 139) [INFO] [stdout] src/key.rs - key::SecretKey::from_slice (line 216) [INFO] [stdout] src/lib.rs - (line 64) [INFO] [stdout] src/lib.rs - (line 82) [INFO] [stdout] src/secret.rs - secret::Keypair::display_secret (line 139) [INFO] [stdout] src/secret.rs - secret::SecretKey::display_secret (line 105) [INFO] [stdout] src/secret.rs - secret::SharedSecret::display_secret (line 172) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 17 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ccb8a0e91bb99f2dd76e928a022459ec9251e4003779b11df4e40cc6a75097e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ccb8a0e91bb99f2dd76e928a022459ec9251e4003779b11df4e40cc6a75097e", kill_on_drop: false }` [INFO] [stdout] 9ccb8a0e91bb99f2dd76e928a022459ec9251e4003779b11df4e40cc6a75097e