[INFO] fetching crate rustreexo 0.4.0... [INFO] testing rustreexo-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate rustreexo 0.4.0 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rustreexo 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rustreexo 0.4.0 [INFO] tweaked toml for crates.io crate rustreexo 0.4.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustreexo 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rustreexo 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdc1e3c516ae5890e7b4716137e63e15315c08d5b7708d79f55cd2d055538486 [INFO] running `Command { std: "docker" "start" "-a" "cdc1e3c516ae5890e7b4716137e63e15315c08d5b7708d79f55cd2d055538486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdc1e3c516ae5890e7b4716137e63e15315c08d5b7708d79f55cd2d055538486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc1e3c516ae5890e7b4716137e63e15315c08d5b7708d79f55cd2d055538486", kill_on_drop: false }` [INFO] [stdout] cdc1e3c516ae5890e7b4716137e63e15315c08d5b7708d79f55cd2d055538486 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f87f58f1fbb67a159ccd6c1efa80f38092d01ac3606a2318354ce020a431841 [INFO] running `Command { std: "docker" "start" "-a" "0f87f58f1fbb67a159ccd6c1efa80f38092d01ac3606a2318354ce020a431841", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling rustreexo v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(any(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/accumulator/proof.rs:1484:7 [INFO] [stdout] | [INFO] [stdout] 1484 | #[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/accumulator/stump.rs:707:7 [INFO] [stdout] | [INFO] [stdout] 707 | #[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/accumulator/util.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg(any(test, 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: function `is_right_sibling` is never used [INFO] [stdout] --> src/accumulator/util.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn is_right_sibling(node: u64, next: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_sibling` is never used [INFO] [stdout] --> src/accumulator/util.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn is_sibling(a: u64, b: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.13s [INFO] running `Command { std: "docker" "inspect" "0f87f58f1fbb67a159ccd6c1efa80f38092d01ac3606a2318354ce020a431841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f87f58f1fbb67a159ccd6c1efa80f38092d01ac3606a2318354ce020a431841", kill_on_drop: false }` [INFO] [stdout] 0f87f58f1fbb67a159ccd6c1efa80f38092d01ac3606a2318354ce020a431841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e852ffcdacd2e76c41e55d758c92225d785cc005ef207dc14e44698ff9152eaf [INFO] running `Command { std: "docker" "start" "-a" "e852ffcdacd2e76c41e55d758c92225d785cc005ef207dc14e44698ff9152eaf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(any(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/accumulator/proof.rs:1484:7 [INFO] [stdout] | [INFO] [stdout] 1484 | #[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/accumulator/stump.rs:707:7 [INFO] [stdout] | [INFO] [stdout] 707 | #[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/accumulator/util.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg(any(test, 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: function `is_right_sibling` is never used [INFO] [stdout] --> src/accumulator/util.rs:286:8 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn is_right_sibling(node: u64, next: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_sibling` is never used [INFO] [stdout] --> src/accumulator/util.rs:291:4 [INFO] [stdout] | [INFO] [stdout] 291 | fn is_sibling(a: u64, b: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling rustreexo v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `bench` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(any(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/accumulator/proof.rs:1484:7 [INFO] [stdout] | [INFO] [stdout] 1484 | #[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/accumulator/stump.rs:707:7 [INFO] [stdout] | [INFO] [stdout] 707 | #[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/accumulator/util.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg(any(test, 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.43s [INFO] running `Command { std: "docker" "inspect" "e852ffcdacd2e76c41e55d758c92225d785cc005ef207dc14e44698ff9152eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e852ffcdacd2e76c41e55d758c92225d785cc005ef207dc14e44698ff9152eaf", kill_on_drop: false }` [INFO] [stdout] e852ffcdacd2e76c41e55d758c92225d785cc005ef207dc14e44698ff9152eaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 084b76c113d85e4ae7a1b502830f7621b25a75cfef4675ca0fb041113f855c5c [INFO] running `Command { std: "docker" "start" "-a" "084b76c113d85e4ae7a1b502830f7621b25a75cfef4675ca0fb041113f855c5c", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `bench` [INFO] [stderr] --> src/lib.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #![cfg_attr(any(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/accumulator/proof.rs:1484:7 [INFO] [stderr] | [INFO] [stderr] 1484 | #[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/accumulator/stump.rs:707:7 [INFO] [stderr] | [INFO] [stderr] 707 | #[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/accumulator/util.rs:339:17 [INFO] [stderr] | [INFO] [stderr] 339 | #[cfg(any(test, 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: function `is_right_sibling` is never used [INFO] [stderr] --> src/accumulator/util.rs:286:8 [INFO] [stderr] | [INFO] [stderr] 286 | pub fn is_right_sibling(node: u64, next: u64) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `is_sibling` is never used [INFO] [stderr] --> src/accumulator/util.rs:291:4 [INFO] [stderr] | [INFO] [stderr] 291 | fn is_sibling(a: u64, b: u64) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rustreexo` (lib) generated 6 warnings [INFO] [stderr] warning: `rustreexo` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustreexo-3cc3108bee2ff12e) [INFO] [stdout] [INFO] [stdout] running 58 tests [INFO] [stdout] test accumulator::mem_forest::test::test_delete_roots_child ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_delete_root ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_display_empty ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_delete_non_root ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_get_pos ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_proof_verify ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_grab_node ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_serialize_one ... ok [INFO] [stdout] test accumulator::node_hash::test::test_empty_hash ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_serialization_roundtrip ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_serialization ... ok [INFO] [stdout] test accumulator::node_hash::test::test_hash_from_str ... ok [INFO] [stdout] test accumulator::node_hash::test::test_parent_hash ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_proof ... ok [INFO] [stdout] test accumulator::pollard::tests::test_delete_roots_child ... ok [INFO] [stdout] test accumulator::pollard::tests::test_from_stump ... ok [INFO] [stdout] test accumulator::pollard::tests::test_add ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_to_string ... ok [INFO] [stdout] test accumulator::pollard::tests::test_from_roots ... ok [INFO] [stdout] test accumulator::pollard::tests::test_get_pos ... ok [INFO] [stdout] test accumulator::pollard::tests::test_prove ... ok [INFO] [stdout] test accumulator::pollard::tests::test_ingest_proof ... ok [INFO] [stdout] test accumulator::pollard::tests::test_ser_rtt ... ok [INFO] [stdout] test accumulator::proof::tests::test_calc_next_positions ... ok [INFO] [stdout] test accumulator::proof::tests::test_calculate_hashes_delete ... ok [INFO] [stdout] test accumulator::proof::tests::test_calculate_hashes ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_add ... ok [INFO] [stdout] test accumulator::pollard::tests::test_ingest_proof_and_prove ... ok [INFO] [stdout] test accumulator::pollard::tests::test_prove_single ... ok [INFO] [stdout] test accumulator::proof::tests::test_serialize_rtt ... ok [INFO] [stdout] test accumulator::proof::tests::test_update_proof_delete ... ok [INFO] [stdout] test accumulator::proof::tests::test_get_next ... ok [INFO] [stdout] test accumulator::mem_forest::test::test_delete ... ok [INFO] [stdout] test accumulator::proof::tests::test_get_proof_subset ... ok [INFO] [stdout] test accumulator::proof::tests::test_update_proof ... ok [INFO] [stdout] test accumulator::proof::tests::test_proof_verify ... ok [INFO] [stdout] test accumulator::stump::test::run_test_cases ... ok [INFO] [stdout] test accumulator::stump::test::test_custom_hash_type ... ok [INFO] [stdout] test accumulator::stump::test::test_stump ... ok [INFO] [stdout] test accumulator::stump::test::test_serialize ... ok [INFO] [stdout] test accumulator::stump::test::test_undo ... ok [INFO] [stdout] test accumulator::util::tests::test_detwin ... ok [INFO] [stdout] test accumulator::util::tests::test_detect_row ... ok [INFO] [stdout] test accumulator::util::tests::test_is_right_sibling ... ok [INFO] [stdout] test accumulator::util::tests::test_is_root_position ... ok [INFO] [stdout] test accumulator::util::tests::test_calc_next_pos ... ok [INFO] [stdout] test accumulator::util::tests::test_children_pos ... ok [INFO] [stdout] test accumulator::stump::test::test_update_data_add ... ok [INFO] [stdout] test accumulator::util::tests::test_is_sibling ... ok [INFO] [stdout] test accumulator::util::tests::test_remove_bit ... ok [INFO] [stdout] test accumulator::util::tests::test_proof_pos ... ok [INFO] [stdout] test accumulator::stump::test::test_updated_data ... ok [INFO] [stdout] test accumulator::util::tests::test_root_position ... ok [INFO] [stdout] test accumulator::util::tests::test_roots_to_destroy ... ok [INFO] [stdout] test accumulator::util::tests::test_tree_rows ... ok [INFO] [stdout] test accumulator::util::tests::test_get_proof_positions ... ok [INFO] [stdout] test accumulator::mem_forest::test::run_tests_from_cases ... ok [INFO] [stdout] test accumulator::pollard::tests::run_tests_from_cases ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests rustreexo [INFO] [stdout] test result: ok. 58 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] warning: unexpected character `!` [INFO] [stderr] --> src/accumulator/pollard.rs:292:5 [INFO] [stderr] | [INFO] [stderr] 292 | / /// Migrates this node up the tree [INFO] [stderr] 293 | | /// [INFO] [stderr] 294 | | /// The deletion algorithm for utreexo works like this: let's say we have the following tree: [INFO] [stderr] 295 | | /// [INFO] [stderr] ... | [INFO] [stderr] 314 | | /// of the ancestors to reflect the new subtree (in the example above, the hash of `06` would [INFO] [stderr] 315 | | /// be updated to the hash of 04 and 02). [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected character `!` [INFO] [stderr] --> src/accumulator/proof.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | / /// Targets are the i'th of leaf locations to delete and they are the bottommost leaves. [INFO] [stderr] 82 | | /// With the tree below, the Targets can only consist of one of these: 02, 03, 04. [INFO] [stderr] 83 | | ///```! [INFO] [stderr] 84 | | /// // 06 [INFO] [stderr] ... | [INFO] [stderr] 88 | | /// // 02 03 [INFO] [stderr] 89 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] [INFO] [stderr] warning: unexpected character `!` [INFO] [stderr] --> src/accumulator/proof.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | / /// All the nodes in the tree that are needed to hash up to the root of [INFO] [stderr] 93 | | /// the tree. Here, the root is 06. If Targets are [00, 01], then Proof [INFO] [stderr] 94 | | /// would be \[05\] as you need 04 and 05 to hash to 06. 04 can be calculated [INFO] [stderr] 95 | | /// by hashing 00 and 01. [INFO] [stderr] ... | [INFO] [stderr] 101 | | /// // 00 01 02 03 [INFO] [stderr] 102 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] [INFO] [stderr] warning: unexpected character `!` [INFO] [stderr] --> src/accumulator/proof.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | / /// Creates a proof from a vector of target and hashes. [INFO] [stderr] 130 | | /// `targets` are u64s and indicates the position of the leaves we are [INFO] [stderr] 131 | | /// trying to prove. [INFO] [stderr] 132 | | /// `hashes` are of type `AccumulatorHash` and are all hashes we need for computing the roots. [INFO] [stderr] ... | [INFO] [stderr] 160 | | /// Proof::new(targets, proof_hashes); [INFO] [stderr] 161 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] [INFO] [stderr] warning: unexpected character `!` [INFO] [stderr] --> src/accumulator/proof.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | / /// Creates a proof from a vector of target and hashes, using a different hash type. [INFO] [stderr] 169 | | /// `targets` are u64s and indicates the position of the leaves we are [INFO] [stderr] 170 | | /// trying to prove. [INFO] [stderr] 171 | | /// `hashes` are of type `AccumulatorHash` and are all hashes we need for computing the roots. [INFO] [stderr] ... | [INFO] [stderr] 203 | | /// Proof::::new_with_hash(targets, proof_hashes); [INFO] [stderr] 204 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] [INFO] [stderr] warning: unexpected character `!` [INFO] [stderr] --> src/accumulator/proof.rs:301:5 [INFO] [stderr] | [INFO] [stderr] 301 | / /// Returns the elements needed to prove a subset of targets. For example, a tree with [INFO] [stderr] 302 | | /// 8 leaves, if we cache `[0, 2, 6, 7]`, and we need to prove `[2, 7]` only, we have to remove [INFO] [stderr] 303 | | /// elements for 0 and 7. The original proof is `[1, 3, 10]`, and we can compute `[8, 9, 11, 12, 13, 14]`. [INFO] [stderr] 304 | | /// But for `[2, 7]` we need `[3, 6, 8, 10]`, and compute `[9, 11, 12, 13, 14]` [INFO] [stderr] ... | [INFO] [stderr] 312 | | /// // 0 1 2 3 4 5 6 7 [INFO] [stderr] 313 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test src/accumulator/node_hash.rs - accumulator::node_hash (line 19) ... ok [INFO] [stdout] test src/accumulator/mem_forest.rs - accumulator::mem_forest::MemForest::new_with_hash (line 227) ... ok [INFO] [stdout] test src/accumulator/mem_forest.rs - accumulator::mem_forest::MemForest::new (line 211) ... ok [INFO] [stdout] test src/accumulator/mem_forest.rs - accumulator::mem_forest::MemForest::serialize (line 243) ... ok [INFO] [stdout] test src/accumulator/mem_forest.rs - accumulator::mem_forest::MemForest::deserialize (line 269) ... ok [INFO] [stdout] test src/accumulator/node_hash.rs - accumulator::node_hash (line 34) ... ok [INFO] [stdout] test src/accumulator/mem_forest.rs - accumulator::mem_forest::MemForest::prove (line 306) ... ok [INFO] [stdout] test src/accumulator/node_hash.rs - accumulator::node_hash (line 5) ... ok [INFO] [stdout] test src/accumulator/node_hash.rs - accumulator::node_hash::BitcoinNodeHash (line 84) ... ok [INFO] [stdout] test src/accumulator/mem_forest.rs - accumulator::mem_forest::MemForest::modify (line 349) ... ok [INFO] [stdout] test src/accumulator/node_hash.rs - accumulator::node_hash::BitcoinNodeHash::empty (line 234) ... ok [INFO] [stdout] test src/accumulator/node_hash.rs - accumulator::node_hash::BitcoinNodeHash::parent_hash (line 246) ... ok [INFO] [stdout] test src/accumulator/node_hash.rs - accumulator::node_hash::BitcoinNodeHash::new (line 212) ... ok [INFO] [stdout] test src/accumulator/proof.rs - accumulator::proof::Proof::new_with_hash (line 192) ... ok [INFO] [stdout] test src/accumulator/proof.rs - accumulator::proof::Proof::new (line 150) ... ok [INFO] [stdout] test src/accumulator/mem_forest.rs - accumulator::mem_forest (line 6) ... ok [INFO] [stdout] test src/accumulator/proof.rs - accumulator::proof::Proof::serialize (line 357) ... ok [INFO] [stdout] test src/accumulator/stump.rs - accumulator::stump::Stump::new (line 73) ... ok [INFO] [stdout] test src/accumulator/proof.rs - accumulator::proof::Proof::deserialize (line 388) ... ok [INFO] [stdout] test src/accumulator/proof.rs - accumulator::proof (line 6) ... ok [INFO] [stdout] test src/accumulator/proof.rs - accumulator::proof::Proof::verify (line 213) ... ok [INFO] [stdout] test src/accumulator/stump.rs - accumulator::stump::Stump::deserialize (line 231) ... ok [INFO] [stdout] test src/accumulator/stump.rs - accumulator::stump::Stump::serialize (line 86) ... ok [INFO] [stdout] test src/accumulator/stump.rs - accumulator::stump::Stump::undo (line 122) ... ok [INFO] [stdout] test src/accumulator/stump.rs - accumulator::stump (line 6) ... ok [INFO] [stdout] test src/accumulator/stump.rs - accumulator::stump::Stump::modify (line 169) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.75s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "084b76c113d85e4ae7a1b502830f7621b25a75cfef4675ca0fb041113f855c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "084b76c113d85e4ae7a1b502830f7621b25a75cfef4675ca0fb041113f855c5c", kill_on_drop: false }` [INFO] [stdout] 084b76c113d85e4ae7a1b502830f7621b25a75cfef4675ca0fb041113f855c5c