[INFO] cloning repository https://github.com/g-decina/spectrum-governance
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/g-decina/spectrum-governance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg-decina%2Fspectrum-governance", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg-decina%2Fspectrum-governance'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e2d9444d9d32720814e981e8ffb1631c7aeb9c8
[INFO] testing g-decina/spectrum-governance against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg-decina%2Fspectrum-governance" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/g-decina/spectrum-governance
[INFO] finished tweaking git repo https://github.com/g-decina/spectrum-governance
[INFO] tweaked toml for git repo https://github.com/g-decina/spectrum-governance written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/g-decina/spectrum-governance on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/g-decina/spectrum-governance 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75154f82cb18ba31055fe111e4d418a454da2643b65a5f42dd0dd46fc067c30a
[INFO] running `Command { std: "docker" "start" "-a" "75154f82cb18ba31055fe111e4d418a454da2643b65a5f42dd0dd46fc067c30a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75154f82cb18ba31055fe111e4d418a454da2643b65a5f42dd0dd46fc067c30a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75154f82cb18ba31055fe111e4d418a454da2643b65a5f42dd0dd46fc067c30a", kill_on_drop: false }`
[INFO] [stdout] 75154f82cb18ba31055fe111e4d418a454da2643b65a5f42dd0dd46fc067c30a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 15751f5ecfd3977616b7c8b98b2b51b401a68263620b30cdddb2f3e9b8e50fb2
[INFO] running `Command { std: "docker" "start" "-a" "15751f5ecfd3977616b7c8b98b2b51b401a68263620b30cdddb2f3e9b8e50fb2", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling bytemuck v1.24.0
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]    Compiling wide v0.7.33
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.7
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling simba v0.9.1
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling ndarray-rand v0.14.0
[INFO] [stderr]    Compiling nalgebra v0.33.2
[INFO] [stderr]    Compiling statrs v0.18.0
[INFO] [stderr]    Compiling spectrum-common v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-common)
[INFO] [stderr]    Compiling spectrum-lens v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-lens)
[INFO] [stderr]    Compiling spectrum-blue v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-blue)
[INFO] [stderr]    Compiling spectrum-infra v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-infra)
[INFO] [stderr]    Compiling spectrum-red v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-red)
[INFO] [stdout] warning: value assigned to `queries_to_first_success` is never read
[INFO] [stdout]    --> spectrum-core/spectrum-red/src/attacks/output_manipulation.rs:396:59
[INFO] [stdout]     |
[INFO] [stdout] 396 |         let mut queries_to_first_success: Option<usize> = None;
[INFO] [stdout]     |                                                           ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 408 |                 queries_to_first_success = Some(query_counter.load(Ordering::Relaxed));
[INFO] [stdout]     |                 ---------------------------------------------------------------------- `queries_to_first_success` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `compute_wilson_ci` is never used
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/metrics.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl AdversarialMetrics {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 42 |     /// Calculate Wilson score interval
[INFO] [stdout] 43 |     fn compute_wilson_ci(successes: usize, trials: usize, confidence: f64) -> (f64, f64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.19s
[INFO] running `Command { std: "docker" "inspect" "15751f5ecfd3977616b7c8b98b2b51b401a68263620b30cdddb2f3e9b8e50fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15751f5ecfd3977616b7c8b98b2b51b401a68263620b30cdddb2f3e9b8e50fb2", kill_on_drop: false }`
[INFO] [stdout] 15751f5ecfd3977616b7c8b98b2b51b401a68263620b30cdddb2f3e9b8e50fb2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 013ce56bf3c1a63e2bb0957f5ec72bbfcc5abc90521271472e54d5e89a100b82
[INFO] running `Command { std: "docker" "start" "-a" "013ce56bf3c1a63e2bb0957f5ec72bbfcc5abc90521271472e54d5e89a100b82", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling spectrum-common v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-common)
[INFO] [stdout] warning: value assigned to `queries_to_first_success` is never read
[INFO] [stdout]    --> spectrum-core/spectrum-red/src/attacks/output_manipulation.rs:396:59
[INFO] [stdout]     |
[INFO] [stdout] 396 |         let mut queries_to_first_success: Option<usize> = None;
[INFO] [stdout]     |                                                           ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 408 |                 queries_to_first_success = Some(query_counter.load(Ordering::Relaxed));
[INFO] [stdout]     |                 ---------------------------------------------------------------------- `queries_to_first_success` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `compute_wilson_ci` is never used
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/metrics.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl AdversarialMetrics {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 42 |     /// Calculate Wilson score interval
[INFO] [stdout] 43 |     fn compute_wilson_ci(successes: usize, trials: usize, confidence: f64) -> (f64, f64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling spectrum-blue v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-blue)
[INFO] [stderr]    Compiling spectrum-lens v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-lens)
[INFO] [stderr]    Compiling spectrum-infra v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-infra)
[INFO] [stderr]    Compiling spectrum-red v0.1.0 (/opt/rustwide/workdir/spectrum-core/spectrum-red)
[INFO] [stdout] warning: value assigned to `queries_to_first_success` is never read
[INFO] [stdout]    --> spectrum-core/spectrum-red/src/attacks/output_manipulation.rs:396:59
[INFO] [stdout]     |
[INFO] [stdout] 396 |         let mut queries_to_first_success: Option<usize> = None;
[INFO] [stdout]     |                                                           ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 408 |                 queries_to_first_success = Some(query_counter.load(Ordering::Relaxed));
[INFO] [stdout]     |                 ---------------------------------------------------------------------- `queries_to_first_success` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MockRegressionModel` is never constructed
[INFO] [stdout]    --> spectrum-core/spectrum-red/src/attacks/output_manipulation.rs:666:12
[INFO] [stdout]     |
[INFO] [stdout] 666 |     struct MockRegressionModel {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `compute_wilson_ci` is never used
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/metrics.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl AdversarialMetrics {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 42 |     /// Calculate Wilson score interval
[INFO] [stdout] 43 |     fn compute_wilson_ci(successes: usize, trials: usize, confidence: f64) -> (f64, f64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.76s
[INFO] running `Command { std: "docker" "inspect" "013ce56bf3c1a63e2bb0957f5ec72bbfcc5abc90521271472e54d5e89a100b82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "013ce56bf3c1a63e2bb0957f5ec72bbfcc5abc90521271472e54d5e89a100b82", kill_on_drop: false }`
[INFO] [stdout] 013ce56bf3c1a63e2bb0957f5ec72bbfcc5abc90521271472e54d5e89a100b82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d2d61b68be3821a790894b321b604d6d62461acb6fa8183f3feee28d0569752f
[INFO] running `Command { std: "docker" "start" "-a" "d2d61b68be3821a790894b321b604d6d62461acb6fa8183f3feee28d0569752f", kill_on_drop: false }`
[INFO] [stderr] warning: value assigned to `queries_to_first_success` is never read
[INFO] [stderr]    --> spectrum-core/spectrum-red/src/attacks/output_manipulation.rs:396:59
[INFO] [stderr]     |
[INFO] [stderr] 396 |         let mut queries_to_first_success: Option<usize> = None;
[INFO] [stderr]     |                                                           ^^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 408 |                 queries_to_first_success = Some(query_counter.load(Ordering::Relaxed));
[INFO] [stderr]     |                 ---------------------------------------------------------------------- `queries_to_first_success` is overwritten here before the previous value is read
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `compute_wilson_ci` is never used
[INFO] [stderr]   --> spectrum-core/spectrum-red/src/metrics.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | impl AdversarialMetrics {
[INFO] [stderr]    | ----------------------- associated function in this implementation
[INFO] [stderr] 42 |     /// Calculate Wilson score interval
[INFO] [stderr] 43 |     fn compute_wilson_ci(successes: usize, trials: usize, confidence: f64) -> (f64, f64) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `spectrum-red` (lib) generated 2 warnings
[INFO] [stderr] warning: struct `MockRegressionModel` is never constructed
[INFO] [stderr]    --> spectrum-core/spectrum-red/src/attacks/output_manipulation.rs:666:12
[INFO] [stderr]     |
[INFO] [stderr] 666 |     struct MockRegressionModel {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `compute_wilson_ci` is never used
[INFO] [stderr]   --> spectrum-core/spectrum-red/src/metrics.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | impl AdversarialMetrics {
[INFO] [stderr]    | ----------------------- associated function in this implementation
[INFO] [stderr] 42 |     /// Calculate Wilson score interval
[INFO] [stderr] 43 |     fn compute_wilson_ci(successes: usize, trials: usize, confidence: f64) -> (f64, f64) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `spectrum-red` (lib test) generated 3 warnings (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spectrum_blue-83743ed577c16cac)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spectrum_common-587962f0712f2609)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spectrum_infra-4f1352bf06a78d42)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spectrum_lens-5a4efa77e1ce26cb)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spectrum_red-3cd4573463903b7f)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_art_equivalence ... ignored
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_config_builder ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_binary_search_boundary ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_initialization_failure ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_predict_label_helper ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_initialization_success ... ok
[INFO] [stdout] test attacks::output_manipulation::tests::test_bin_edges_uniform ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_refine_boundary_single_iteration ... ok
[INFO] [stdout] test attacks::prediction_shift::tests::test_config_builder ... ok
[INFO] [stdout] test attacks::quantile_attack::tests::test_config_builder ... ok
[INFO] [stdout] test attacks::prediction_shift::tests::test_attack_single ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_estimate_gradient ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_full_attack_batch ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_attack_single_reduces_perturbation ... ok
[INFO] [stdout] test attacks::output_manipulation::tests::test_config_builder ... ok
[INFO] [stdout] test attacks::quantile_attack::tests::test_get_interval ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_config_default ... ok
[INFO] [stdout] test attacks::hop_skip_jump::tests::test_parallel_execution ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 17 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests spectrum_blue
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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] [stderr]    Doc-tests spectrum_common
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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] [stderr]    Doc-tests spectrum_infra
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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] [stderr]    Doc-tests spectrum_lens
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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] [stderr]    Doc-tests spectrum_red
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary (line 54) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square::Array1 (line 51) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/mod.rs - attacks::hop_skip_jump (line 23) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::HopSkipJumpConfigBuilder (line 211) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square (line 51) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary::Axis (line 54) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary::Array2 (line 54) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo::Axis (line 46) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::Axis (line 66) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::Array1 (line 66) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square::Axis (line 51) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square::Array2 (line 51) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo::Array1 (line 46) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump (line 66) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo::Array2 (line 46) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::HopSkipJumpAttack::run (line 372) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary::Array1 (line 54) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo (line 46) ... FAILED
[INFO] [stdout] test spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::Array2 (line 66) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary (line 54) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_boundary_rs_54_0() {
[INFO] [stdout]    |                                      -------------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_boundary_rs_54_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use spectrum_red::attacks::{BoundaryAttack, BoundaryConfig};
[INFO] [stdout] ...
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 66 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square::Array1 (line 51) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:42
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_square_rs_51_1() {
[INFO] [stdout]    |                                      ------------------------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 52 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_square_rs_51_1() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 53 | use spectrum_red::attacks::{SquareAttack, SquareConfig};
[INFO] [stdout] ...
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 63 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/mod.rs - attacks::hop_skip_jump (line 23) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/mod.rs:33:27
[INFO] [stdout]    |
[INFO] [stdout] 33 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/mod.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/mod.rs:33:42
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_mod_rs_23_0() {
[INFO] [stdout]    |                                      --------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 33 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 24 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_mod_rs_23_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 25 | use spectrum_red::attacks::{HopSkipJumpAttack, HopSkipJumpConfig};
[INFO] [stdout] ...
[INFO] [stdout] 33 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 34 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::HopSkipJumpConfigBuilder (line 211) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `HopSkipJumpConfig` in this scope
[INFO] [stdout]    --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:212:14
[INFO] [stdout]     |
[INFO] [stdout] 212 | let config = HopSkipJumpConfig::builder()
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ use of undeclared type `HopSkipJumpConfig`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 211 + use spectrum_red::attacks::HopSkipJumpConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square (line 51) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:42
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_square_rs_51_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 52 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_square_rs_51_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 53 | use spectrum_red::attacks::{SquareAttack, SquareConfig};
[INFO] [stdout] ...
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 63 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary::Axis (line 54) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_boundary_rs_54_3() {
[INFO] [stdout]    |                                      -------------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_boundary_rs_54_3() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use spectrum_red::attacks::{BoundaryAttack, BoundaryConfig};
[INFO] [stdout] ...
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 66 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary::Array2 (line 54) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_boundary_rs_54_2() {
[INFO] [stdout]    |                                      -------------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_boundary_rs_54_2() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use spectrum_red::attacks::{BoundaryAttack, BoundaryConfig};
[INFO] [stdout] ...
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 66 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo::Axis (line 46) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_zoo_rs_46_3() {
[INFO] [stdout]    |                                      --------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 47 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_zoo_rs_46_3() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 48 | use spectrum_red::attacks::{ZOOAttack, ZOOConfig};
[INFO] [stdout] ...
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 58 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::Axis (line 66) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:35
[INFO] [stdout]    |
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_hop_skip_jump_rs_66_3() {
[INFO] [stdout]    |                                      ------------------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 67 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_hop_skip_jump_rs_66_3() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 68 | use spectrum_red::attacks::{HopSkipJumpAttack, HopSkipJumpConfig};
[INFO] [stdout] ...
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.empirical_robustness_l2);
[INFO] [stdout] 85 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `attack_success_rate` on type `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, AdversarialMetrics)`
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:83:49
[INFO] [stdout]    |
[INFO] [stdout] 83 | println!("Attack success rate: {:.1}%", metrics.attack_success_rate * 100.0);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctestX15ent/rust_out.long-type-9785923174535797040.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 83 | println!("Attack success rate: {:.1}%", metrics.1.attack_success_rate * 100.0);
[INFO] [stdout]    |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `empirical_robustness_l2` on type `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, AdversarialMetrics)`
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:84:51
[INFO] [stdout]    |
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.empirical_robustness_l2);
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctestX15ent/rust_out.long-type-9785923174535797040.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.1.empirical_robustness_l2);
[INFO] [stdout]    |                                                   ++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::Array1 (line 66) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:35
[INFO] [stdout]    |
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_hop_skip_jump_rs_66_1() {
[INFO] [stdout]    |                                      ------------------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 67 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_hop_skip_jump_rs_66_1() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 68 | use spectrum_red::attacks::{HopSkipJumpAttack, HopSkipJumpConfig};
[INFO] [stdout] ...
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.empirical_robustness_l2);
[INFO] [stdout] 85 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `attack_success_rate` on type `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, AdversarialMetrics)`
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:83:49
[INFO] [stdout]    |
[INFO] [stdout] 83 | println!("Attack success rate: {:.1}%", metrics.attack_success_rate * 100.0);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctestyAxMW7/rust_out.long-type-8667745059862155127.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 83 | println!("Attack success rate: {:.1}%", metrics.1.attack_success_rate * 100.0);
[INFO] [stdout]    |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `empirical_robustness_l2` on type `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, AdversarialMetrics)`
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:84:51
[INFO] [stdout]    |
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.empirical_robustness_l2);
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctestyAxMW7/rust_out.long-type-8667745059862155127.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.1.empirical_robustness_l2);
[INFO] [stdout]    |                                                   ++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square::Axis (line 51) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:42
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_square_rs_51_3() {
[INFO] [stdout]    |                                      ------------------------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 52 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_square_rs_51_3() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 53 | use spectrum_red::attacks::{SquareAttack, SquareConfig};
[INFO] [stdout] ...
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 63 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square::Array2 (line 51) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/square.rs:62:42
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_square_rs_51_2() {
[INFO] [stdout]    |                                      ------------------------------------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 52 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_square_rs_51_2() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 53 | use spectrum_red::attacks::{SquareAttack, SquareConfig};
[INFO] [stdout] ...
[INFO] [stdout] 62 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 63 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo::Array1 (line 46) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_zoo_rs_46_1() {
[INFO] [stdout]    |                                      --------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 47 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_zoo_rs_46_1() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 48 | use spectrum_red::attacks::{ZOOAttack, ZOOConfig};
[INFO] [stdout] ...
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 58 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump (line 66) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:35
[INFO] [stdout]    |
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_hop_skip_jump_rs_66_0() {
[INFO] [stdout]    |                                      ------------------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 67 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_hop_skip_jump_rs_66_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 68 | use spectrum_red::attacks::{HopSkipJumpAttack, HopSkipJumpConfig};
[INFO] [stdout] ...
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.empirical_robustness_l2);
[INFO] [stdout] 85 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `attack_success_rate` on type `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, AdversarialMetrics)`
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:83:49
[INFO] [stdout]    |
[INFO] [stdout] 83 | println!("Attack success rate: {:.1}%", metrics.attack_success_rate * 100.0);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctestnuIl4e/rust_out.long-type-3042054675065001044.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 83 | println!("Attack success rate: {:.1}%", metrics.1.attack_success_rate * 100.0);
[INFO] [stdout]    |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `empirical_robustness_l2` on type `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, AdversarialMetrics)`
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:84:51
[INFO] [stdout]    |
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.empirical_robustness_l2);
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctestnuIl4e/rust_out.long-type-3042054675065001044.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.1.empirical_robustness_l2);
[INFO] [stdout]    |                                                   ++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo::Array2 (line 46) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_zoo_rs_46_2() {
[INFO] [stdout]    |                                      --------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 47 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_zoo_rs_46_2() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 48 | use spectrum_red::attacks::{ZOOAttack, ZOOConfig};
[INFO] [stdout] ...
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 58 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::HopSkipJumpAttack::run (line 372) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `HopSkipJumpConfig` in this scope
[INFO] [stdout]    --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:373:14
[INFO] [stdout]     |
[INFO] [stdout] 373 | let config = HopSkipJumpConfig::builder()
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ use of undeclared type `HopSkipJumpConfig`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 372 + use spectrum_red::attacks::HopSkipJumpConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HopSkipJumpAttack` in this scope
[INFO] [stdout]    --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:376:14
[INFO] [stdout]     |
[INFO] [stdout] 376 | let attack = HopSkipJumpAttack::new(config);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ use of undeclared type `HopSkipJumpAttack`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 372 + use spectrum_red::attacks::HopSkipJumpAttack;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]    --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:377:27
[INFO] [stdout]     |
[INFO] [stdout] 377 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]    --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:377:35
[INFO] [stdout]     |
[INFO] [stdout] 377 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]     |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary::Array1 (line 54) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:35
[INFO] [stdout]    |
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/boundary.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_boundary_rs_54_1() {
[INFO] [stdout]    |                                      -------------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_boundary_rs_54_1() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use spectrum_red::attacks::{BoundaryAttack, BoundaryConfig};
[INFO] [stdout] ...
[INFO] [stdout] 65 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 66 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo (line 46) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:27
[INFO] [stdout]    |
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/zoo.rs:57:42
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_zoo_rs_46_0() {
[INFO] [stdout]    |                                      --------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 47 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_zoo_rs_46_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 48 | use spectrum_red::attacks::{ZOOAttack, ZOOConfig};
[INFO] [stdout] ...
[INFO] [stdout] 57 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout] 58 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::Array2 (line 66) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `model` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x_test` in this scope
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:35
[INFO] [stdout]    |
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:80:42
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_hop_skip_jump_rs_66_2() {
[INFO] [stdout]    |                                      ------------------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 80 | let metrics = attack.run(&model, &x_test)?;
[INFO] [stdout]    |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 67 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_spectrum_core_spectrum_red_src_attacks_hop_skip_jump_rs_66_2() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 68 | use spectrum_red::attacks::{HopSkipJumpAttack, HopSkipJumpConfig};
[INFO] [stdout] ...
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.empirical_robustness_l2);
[INFO] [stdout] 85 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `attack_success_rate` on type `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, AdversarialMetrics)`
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:83:49
[INFO] [stdout]    |
[INFO] [stdout] 83 | println!("Attack success rate: {:.1}%", metrics.attack_success_rate * 100.0);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctest4ABZUB/rust_out.long-type-14574035935859436842.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 83 | println!("Attack success rate: {:.1}%", metrics.1.attack_success_rate * 100.0);
[INFO] [stdout]    |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `empirical_robustness_l2` on type `(ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>, AdversarialMetrics)`
[INFO] [stdout]   --> spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs:84:51
[INFO] [stdout]    |
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.empirical_robustness_l2);
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: the full name for the type has been written to '/tmp/rustdoctest4ABZUB/rust_out.long-type-14574035935859436842.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 84 | println!("Mean perturbation (L2): {:.6}", metrics.1.empirical_robustness_l2);
[INFO] [stdout]    |                                                   ++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0609.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary (line 54)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary::Array1 (line 54)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary::Array2 (line 54)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/boundary.rs - attacks::boundary::Axis (line 54)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump (line 66)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::Array1 (line 66)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::Array2 (line 66)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::Axis (line 66)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::HopSkipJumpAttack::run (line 372)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/hop_skip_jump.rs - attacks::hop_skip_jump::HopSkipJumpConfigBuilder (line 211)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/mod.rs - attacks::hop_skip_jump (line 23)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square (line 51)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square::Array1 (line 51)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square::Array2 (line 51)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/square.rs - attacks::square::Axis (line 51)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo (line 46)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo::Array1 (line 46)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo::Array2 (line 46)
[INFO] [stdout]     spectrum-core/spectrum-red/src/attacks/zoo.rs - attacks::zoo::Axis (line 46)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p spectrum-red --doc`
[INFO] running `Command { std: "docker" "inspect" "d2d61b68be3821a790894b321b604d6d62461acb6fa8183f3feee28d0569752f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2d61b68be3821a790894b321b604d6d62461acb6fa8183f3feee28d0569752f", kill_on_drop: false }`
[INFO] [stdout] d2d61b68be3821a790894b321b604d6d62461acb6fa8183f3feee28d0569752f
