[INFO] cloning repository https://github.com/chancehudson/hidden-r1cs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chancehudson/hidden-r1cs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchancehudson%2Fhidden-r1cs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchancehudson%2Fhidden-r1cs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c38f45ff34b24f5306b682a8af13a6ca0312ad13 [INFO] checking chancehudson/hidden-r1cs against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchancehudson%2Fhidden-r1cs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/chancehudson/hidden-r1cs [INFO] finished tweaking git repo https://github.com/chancehudson/hidden-r1cs [INFO] tweaked toml for git repo https://github.com/chancehudson/hidden-r1cs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chancehudson/hidden-r1cs 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 git repo https://github.com/chancehudson/hidden-r1cs 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e11341e35fecba8f9d3b3cead2f27f66c69ff0ee47de31101a1eadde3bb5f36b [INFO] running `Command { std: "docker" "start" "-a" "e11341e35fecba8f9d3b3cead2f27f66c69ff0ee47de31101a1eadde3bb5f36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e11341e35fecba8f9d3b3cead2f27f66c69ff0ee47de31101a1eadde3bb5f36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11341e35fecba8f9d3b3cead2f27f66c69ff0ee47de31101a1eadde3bb5f36b", kill_on_drop: false }` [INFO] [stdout] e11341e35fecba8f9d3b3cead2f27f66c69ff0ee47de31101a1eadde3bb5f36b [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 -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] 4df60815f5c2ebf908100a0fcdae28a6d0abdc9a699dd4206990e12da31eab39 [INFO] running `Command { std: "docker" "start" "-a" "4df60815f5c2ebf908100a0fcdae28a6d0abdc9a699dd4206990e12da31eab39", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking const-primes v0.10.5 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking zerocopy v0.8.27 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking lettuce v0.1.2 (/opt/rustwide/workdir/lettuce) [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> lettuce/src/commitments/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use lwe_scalar::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> lettuce/src/commitments/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use lwe_scalar::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lwe_scalar::*` [INFO] [stdout] --> lettuce/src/commitments/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use lwe_scalar::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> lettuce/src/commitments/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use sis_scalar::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> lettuce/src/commitments/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use sis_scalar::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sis_scalar::*` [INFO] [stdout] --> lettuce/src/commitments/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use sis_scalar::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `error` [INFO] [stdout] --> lettuce/src/log.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | macro_rules! error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> lettuce/src/log.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) use error; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> lettuce/src/probability/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chi_sq::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> lettuce/src/probability/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chi_sq::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chi_sq::*` [INFO] [stdout] --> lettuce/src/probability/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use chi_sq::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `check_params` is never used [INFO] [stdout] --> lettuce/src/commitments/bdlop.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl BDLOP { [INFO] [stdout] | ------------------------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | fn check_params() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LWEScalar` is never constructed [INFO] [stdout] --> lettuce/src/commitments/lwe_scalar.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct LWEScalar { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `lattice_for`, `commit`, and `try_open` are never used [INFO] [stdout] --> lettuce/src/commitments/lwe_scalar.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl LWEScalar { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn lattice_for(element_len: usize, rng: &mut R) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn commit(val: Vector, lattice: Matrix, rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn try_open(&self, val: &Vector, max_err: u128) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SISScalar` is never constructed [INFO] [stdout] --> lettuce/src/commitments/sis_scalar.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct SISScalar { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `lattice_for`, `commit`, and `try_open` are never used [INFO] [stdout] --> lettuce/src/commitments/sis_scalar.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SISScalar { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn lattice_for(element_len: usize, rng: &mut R) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn commit(val: Vector, lattice: Matrix) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn try_open(&self, val: &Vector, max_dist: u128) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chi_sq_95` is never used [INFO] [stdout] --> lettuce/src/probability/chi_sq.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) fn chi_sq_95(df: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prob` is never used [INFO] [stdout] --> lettuce/src/probability/gaussian.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 47 | impl GaussianCDT { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | pub(crate) fn prob(&self, disp: &i32) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> lettuce/src/lib.rs:215:35 [INFO] [stdout] | [INFO] [stdout] 215 | let mut out = Vector::new(parts_len.try_into().expect("base too large")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lettuce` (lib) due to 1 previous error; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4df60815f5c2ebf908100a0fcdae28a6d0abdc9a699dd4206990e12da31eab39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df60815f5c2ebf908100a0fcdae28a6d0abdc9a699dd4206990e12da31eab39", kill_on_drop: false }` [INFO] [stdout] 4df60815f5c2ebf908100a0fcdae28a6d0abdc9a699dd4206990e12da31eab39