[INFO] fetching crate fheanor 0.9.2... [INFO] checking fheanor-0.9.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate fheanor 0.9.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate fheanor 0.9.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fheanor 0.9.2 [INFO] tweaked toml for crates.io crate fheanor 0.9.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fheanor 0.9.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fheanor 0.9.2 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5f6643b1ae0bdb9ab7c458a1e386cbec0c8636b61a4edd77ef36fd8a998aeb9 [INFO] running `Command { std: "docker" "start" "-a" "b5f6643b1ae0bdb9ab7c458a1e386cbec0c8636b61a4edd77ef36fd8a998aeb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5f6643b1ae0bdb9ab7c458a1e386cbec0c8636b61a4edd77ef36fd8a998aeb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f6643b1ae0bdb9ab7c458a1e386cbec0c8636b61a4edd77ef36fd8a998aeb9", kill_on_drop: false }` [INFO] [stdout] b5f6643b1ae0bdb9ab7c458a1e386cbec0c8636b61a4edd77ef36fd8a998aeb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 342cbdba3cb66a812372f52ff6ffd45169cab264e6fe0e5d00cd86f5d59ce621 [INFO] running `Command { std: "docker" "start" "-a" "342cbdba3cb66a812372f52ff6ffd45169cab264e6fe0e5d00cd86f5d59ce621", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking atomicbox v0.4.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking append-only-vec v0.1.7 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking feanor-mempool v2.1.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking debugit v0.2.0 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking tracing-chrome v0.7.2 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking cobs v0.3.0 [INFO] [stderr] Checking serde_assert v0.8.0 [INFO] [stderr] Checking feanor-serde v0.1.5 [INFO] [stderr] Checking feanor-math v3.5.8 [INFO] [stderr] Checking postcard v1.1.3 [INFO] [stderr] Checking fheanor v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<<::IntegerRingBase as feanor_math::ring::RingBase>::Element, !> [INFO] [stdout] --> src/ntt/mod.rs:267:73 [INFO] [stdout] | [INFO] [stdout] 267 | ... let twiddle_ring = RingValue::from(R_twiddle::from_modulus(|ZZ| Ok(int_cast(p, RingRef::new(ZZ), BigIntRing::RING))).unwrap_or_else... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/number_ring/general_cyclotomic.rs:173:68 [INFO] [stdout] | [INFO] [stdout] 173 | let log2_help_len = StaticRing::::RING.abs_log2_ceil(&(2 * m).try_into().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:449:34 [INFO] [stdout] | [INFO] [stdout] 449 | ... let Fp = RingValue::from(<<::BaseRing as RingStore>::Type as FromModulusCreateableZnRing>::from_modulus::... [INFO] [stdout] | ________________________________^ [INFO] [stdout] 450 | | ... Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] 451 | | ... ).unwrap_or_else(no_error)).as_field().ok().unwrap(); [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type as feanor_math::rings::zn::ZnRing>::IntegerRingBase as feanor_math::ring::RingBase>::Element, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:476:34 [INFO] [stdout] | [INFO] [stdout] 476 | ... let Fp = RingValue::from(<<::BaseRing as RingStore>::Type as FromModulusCreateableZnRing>::from_modulus::... [INFO] [stdout] | ________________________________^ [INFO] [stdout] 477 | | ... Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] 478 | | ... ).unwrap_or_else(no_error)).as_field().ok().unwrap(); [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type as feanor_math::rings::zn::ZnRing>::IntegerRingBase as feanor_math::ring::RingBase>::Element, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:559:34 [INFO] [stdout] | [INFO] [stdout] 559 | ... let Fp = RingValue::from(<<::BaseRing as RingStore>::Type as FromModulusCreateableZnRing>::from_modulus::... [INFO] [stdout] | ________________________________^ [INFO] [stdout] 560 | | ... Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] 561 | | ... ).unwrap_or_else(no_error)).as_field().ok().unwrap(); [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type as feanor_math::rings::zn::ZnRing>::IntegerRingBase as feanor_math::ring::RingBase>::Element, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:560:13 [INFO] [stdout] | [INFO] [stdout] 560 | Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | let result_idx = generic_pow_shortest_chain_table( [INFO] [stdout] | __________________________^ [INFO] [stdout] 48 | | (Some(0), 1), [INFO] [stdout] 49 | | &(l as i64), [INFO] [stdout] 50 | | StaticRing::::RING, [INFO] [stdout] ... | [INFO] [stdout] 72 | | (None, 0) [INFO] [stdout] 73 | | ).unwrap_or_else(no_error).0.unwrap(); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | |(idx, num)| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 52 | | if let Some(idx) = idx { [INFO] [stdout] 53 | | let result = extend_circuit.borrow_mut()(*idx, *idx, *num); [INFO] [stdout] 54 | | Ok((Some(result), num + num)) [INFO] [stdout] ... | [INFO] [stdout] 58 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / if let Some(idx) = idx { [INFO] [stdout] 53 | | let result = extend_circuit.borrow_mut()(*idx, *idx, *num); [INFO] [stdout] 54 | | Ok((Some(result), num + num)) [INFO] [stdout] 55 | | } else { [INFO] [stdout] 56 | | Ok((None, 0)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(idx) = idx { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 53 | | let result = extend_circuit.borrow_mut()(*idx, *idx, *num); [INFO] [stdout] 54 | | Ok((Some(result), num + num)) [INFO] [stdout] 55 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | Ok((Some(result), num + num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 56 | | Ok((None, 0)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | Ok((None, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | |(l_idx, l_num), (r_idx, r_num)| { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 60 | | if let Some(l_idx) = l_idx { [INFO] [stdout] 61 | | if let Some(r_idx) = r_idx { [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] ... | [INFO] [stdout] 70 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | / if let Some(l_idx) = l_idx { [INFO] [stdout] 61 | | if let Some(r_idx) = r_idx { [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] 63 | | Ok((Some(result), l_num + r_num)) [INFO] [stdout] ... | [INFO] [stdout] 68 | | Ok((*r_idx, *r_num)) [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some(l_idx) = l_idx { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 61 | | if let Some(r_idx) = r_idx { [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] 63 | | Ok((Some(result), l_num + r_num)) [INFO] [stdout] ... | [INFO] [stdout] 67 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | / if let Some(r_idx) = r_idx { [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] 63 | | Ok((Some(result), l_num + r_num)) [INFO] [stdout] 64 | | } else { [INFO] [stdout] 65 | | Ok((Some(*l_idx), *l_num)) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(r_idx) = r_idx { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] 63 | | Ok((Some(result), l_num + r_num)) [INFO] [stdout] 64 | | } else { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | Ok((Some(result), l_num + r_num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | } else { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 65 | | Ok((Some(*l_idx), *l_num)) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | Ok((Some(*l_idx), *l_num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 68 | | Ok((*r_idx, *r_num)) [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | Ok((*r_idx, *r_num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fheanor` (lib) due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result<<::IntegerRingBase as feanor_math::ring::RingBase>::Element, !> [INFO] [stdout] --> src/ntt/mod.rs:267:73 [INFO] [stdout] | [INFO] [stdout] 267 | ... let twiddle_ring = RingValue::from(R_twiddle::from_modulus(|ZZ| Ok(int_cast(p, RingRef::new(ZZ), BigIntRing::RING))).unwrap_or_else... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/number_ring/general_cyclotomic.rs:173:68 [INFO] [stdout] | [INFO] [stdout] 173 | let log2_help_len = StaticRing::::RING.abs_log2_ceil(&(2 * m).try_into().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:449:34 [INFO] [stdout] | [INFO] [stdout] 449 | ... let Fp = RingValue::from(<<::BaseRing as RingStore>::Type as FromModulusCreateableZnRing>::from_modulus::... [INFO] [stdout] | ________________________________^ [INFO] [stdout] 450 | | ... Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] 451 | | ... ).unwrap_or_else(no_error)).as_field().ok().unwrap(); [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type as feanor_math::rings::zn::ZnRing>::IntegerRingBase as feanor_math::ring::RingBase>::Element, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:476:34 [INFO] [stdout] | [INFO] [stdout] 476 | ... let Fp = RingValue::from(<<::BaseRing as RingStore>::Type as FromModulusCreateableZnRing>::from_modulus::... [INFO] [stdout] | ________________________________^ [INFO] [stdout] 477 | | ... Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] 478 | | ... ).unwrap_or_else(no_error)).as_field().ok().unwrap(); [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type as feanor_math::rings::zn::ZnRing>::IntegerRingBase as feanor_math::ring::RingBase>::Element, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:477:13 [INFO] [stdout] | [INFO] [stdout] 477 | Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:559:34 [INFO] [stdout] | [INFO] [stdout] 559 | ... let Fp = RingValue::from(<<::BaseRing as RingStore>::Type as FromModulusCreateableZnRing>::from_modulus::... [INFO] [stdout] | ________________________________^ [INFO] [stdout] 560 | | ... Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] 561 | | ... ).unwrap_or_else(no_error)).as_field().ok().unwrap(); [INFO] [stdout] | |_______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<<<<<::Type as feanor_math::ring::RingExtension>::BaseRing as feanor_math::ring::RingStore>::Type as feanor_math::rings::zn::ZnRing>::IntegerRingBase as feanor_math::ring::RingBase>::Element, !> [INFO] [stdout] --> src/number_ring/hypercube/isomorphism.rs:560:13 [INFO] [stdout] | [INFO] [stdout] 560 | Ok(int_cast(ZZbig.clone_el(&p), RingRef::new(ZZ), ZZbig)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | let result_idx = generic_pow_shortest_chain_table( [INFO] [stdout] | __________________________^ [INFO] [stdout] 48 | | (Some(0), 1), [INFO] [stdout] 49 | | &(l as i64), [INFO] [stdout] 50 | | StaticRing::::RING, [INFO] [stdout] ... | [INFO] [stdout] 72 | | (None, 0) [INFO] [stdout] 73 | | ).unwrap_or_else(no_error).0.unwrap(); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | |(idx, num)| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 52 | | if let Some(idx) = idx { [INFO] [stdout] 53 | | let result = extend_circuit.borrow_mut()(*idx, *idx, *num); [INFO] [stdout] 54 | | Ok((Some(result), num + num)) [INFO] [stdout] ... | [INFO] [stdout] 58 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | / if let Some(idx) = idx { [INFO] [stdout] 53 | | let result = extend_circuit.borrow_mut()(*idx, *idx, *num); [INFO] [stdout] 54 | | Ok((Some(result), num + num)) [INFO] [stdout] 55 | | } else { [INFO] [stdout] 56 | | Ok((None, 0)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(idx) = idx { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 53 | | let result = extend_circuit.borrow_mut()(*idx, *idx, *num); [INFO] [stdout] 54 | | Ok((Some(result), num + num)) [INFO] [stdout] 55 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | Ok((Some(result), num + num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 56 | | Ok((None, 0)) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | Ok((None, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | |(l_idx, l_num), (r_idx, r_num)| { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 60 | | if let Some(l_idx) = l_idx { [INFO] [stdout] 61 | | if let Some(r_idx) = r_idx { [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] ... | [INFO] [stdout] 70 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | / if let Some(l_idx) = l_idx { [INFO] [stdout] 61 | | if let Some(r_idx) = r_idx { [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] 63 | | Ok((Some(result), l_num + r_num)) [INFO] [stdout] ... | [INFO] [stdout] 68 | | Ok((*r_idx, *r_num)) [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:60:44 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some(l_idx) = l_idx { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 61 | | if let Some(r_idx) = r_idx { [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] 63 | | Ok((Some(result), l_num + r_num)) [INFO] [stdout] ... | [INFO] [stdout] 67 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | / if let Some(r_idx) = r_idx { [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] 63 | | Ok((Some(result), l_num + r_num)) [INFO] [stdout] 64 | | } else { [INFO] [stdout] 65 | | Ok((Some(*l_idx), *l_num)) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(r_idx) = r_idx { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 62 | | let result = extend_circuit.borrow_mut()(*l_idx, *r_idx, *l_num); [INFO] [stdout] 63 | | Ok((Some(result), l_num + r_num)) [INFO] [stdout] 64 | | } else { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | Ok((Some(result), l_num + r_num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | } else { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 65 | | Ok((Some(*l_idx), *l_num)) [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | Ok((Some(*l_idx), *l_num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 68 | | Ok((*r_idx, *r_num)) [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<(std::option::Option, i64), !> [INFO] [stdout] --> src/lin_transform/trace.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | Ok((*r_idx, *r_num)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fheanor` (lib test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "342cbdba3cb66a812372f52ff6ffd45169cab264e6fe0e5d00cd86f5d59ce621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342cbdba3cb66a812372f52ff6ffd45169cab264e6fe0e5d00cd86f5d59ce621", kill_on_drop: false }` [INFO] [stdout] 342cbdba3cb66a812372f52ff6ffd45169cab264e6fe0e5d00cd86f5d59ce621