[INFO] fetching crate simplepir 1.0.1...
[INFO] testing simplepir-1.0.1 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate simplepir 1.0.1 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate simplepir 1.0.1
[INFO] finished tweaking crates.io crate simplepir 1.0.1
[INFO] tweaked toml for crates.io crate simplepir 1.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate simplepir 1.0.1 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 72 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.5.1 (available: v0.8.1)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] [stderr]       Adding rand_chacha v0.3.1 (available: v0.9.0)
[INFO] [stderr]       Adding rand_distr v0.4.3 (available: v0.5.1)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6364283a5ae9b81a8955c13265de4ccb243c135bac86d77645da070941014790
[INFO] running `Command { std: "docker" "start" "-a" "6364283a5ae9b81a8955c13265de4ccb243c135bac86d77645da070941014790", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6364283a5ae9b81a8955c13265de4ccb243c135bac86d77645da070941014790", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6364283a5ae9b81a8955c13265de4ccb243c135bac86d77645da070941014790", kill_on_drop: false }`
[INFO] [stdout] 6364283a5ae9b81a8955c13265de4ccb243c135bac86d77645da070941014790
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6398b2453a66a099214902f9572cd16aaee5f0575757cea8b7a3e3abaded91f7
[INFO] running `Command { std: "docker" "start" "-a" "6398b2453a66a099214902f9572cd16aaee5f0575757cea8b7a3e3abaded91f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling simplepir v1.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.00s
[INFO] running `Command { std: "docker" "inspect" "6398b2453a66a099214902f9572cd16aaee5f0575757cea8b7a3e3abaded91f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6398b2453a66a099214902f9572cd16aaee5f0575757cea8b7a3e3abaded91f7", kill_on_drop: false }`
[INFO] [stdout] 6398b2453a66a099214902f9572cd16aaee5f0575757cea8b7a3e3abaded91f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 54041ea2bcca01bdf24c892a3b6247867ff88c01bed349c04fd1b26f52b2b569
[INFO] running `Command { std: "docker" "start" "-a" "54041ea2bcca01bdf24c892a3b6247867ff88c01bed349c04fd1b26f52b2b569", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling zmij v1.0.12
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling clap v4.5.54
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling zerocopy-derive v0.8.33
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling simplepir v1.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 55.75s
[INFO] running `Command { std: "docker" "inspect" "54041ea2bcca01bdf24c892a3b6247867ff88c01bed349c04fd1b26f52b2b569", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54041ea2bcca01bdf24c892a3b6247867ff88c01bed349c04fd1b26f52b2b569", kill_on_drop: false }`
[INFO] [stdout] 54041ea2bcca01bdf24c892a3b6247867ff88c01bed349c04fd1b26f52b2b569
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8770fa368e5645eb46830453c80bee97008aab3db4584c1c248a49ff1aaa4023
[INFO] running `Command { std: "docker" "start" "-a" "8770fa368e5645eb46830453c80bee97008aab3db4584c1c248a49ff1aaa4023", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simplepir-9ddb4b6a599cd226)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test tests::test1 ... ok
[INFO] [stdout] test tests::test2 has been running for over 60 seconds
[INFO] [stdout] test tests::test3 has been running for over 60 seconds
[INFO] [stdout] test tests::test4 has been running for over 60 seconds
[INFO] [stdout] test tests::test3 ... ok
[INFO] [stdout] test tests::test4 ... ok
[INFO] [stdout] test tests::test2 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 474.87s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests simplepir
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - (line 77) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 84) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 53) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 18) ... ok
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 63) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 40) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 89) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 77) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `answer` in this scope
[INFO] [stdout]   --> src/lib.rs:78:21
[INFO] [stdout]    |
[INFO] [stdout] 78 | let answer_cipher = answer(&compressed_db, &query_cipher);
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 77 + use simplepir::answer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `compressed_db` in this scope
[INFO] [stdout]   --> src/lib.rs:78:29
[INFO] [stdout]    |
[INFO] [stdout] 78 | let answer_cipher = answer(&compressed_db, &query_cipher);
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `query_cipher` in this scope
[INFO] [stdout]   --> src/lib.rs:78:45
[INFO] [stdout]    |
[INFO] [stdout] 78 | let answer_cipher = answer(&compressed_db, &query_cipher);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 84) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `recover` in this scope
[INFO] [stdout]   --> src/lib.rs:85:14
[INFO] [stdout]    |
[INFO] [stdout] 85 | let record = recover(&client_state, &client_hint, &answer_cipher, &query_cipher, plaintext_mod);
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 84 + use simplepir::recover;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client_state` in this scope
[INFO] [stdout]   --> src/lib.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 85 | let record = recover(&client_state, &client_hint, &answer_cipher, &query_cipher, plaintext_mod);
[INFO] [stdout]    |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client_hint` in this scope
[INFO] [stdout]   --> src/lib.rs:85:38
[INFO] [stdout]    |
[INFO] [stdout] 85 | let record = recover(&client_state, &client_hint, &answer_cipher, &query_cipher, plaintext_mod);
[INFO] [stdout]    |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `answer_cipher` in this scope
[INFO] [stdout]   --> src/lib.rs:85:52
[INFO] [stdout]    |
[INFO] [stdout] 85 | let record = recover(&client_state, &client_hint, &answer_cipher, &query_cipher, plaintext_mod);
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `query_cipher` in this scope
[INFO] [stdout]   --> src/lib.rs:85:68
[INFO] [stdout]    |
[INFO] [stdout] 85 | let record = recover(&client_state, &client_hint, &answer_cipher, &query_cipher, plaintext_mod);
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `plaintext_mod` in this scope
[INFO] [stdout]   --> src/lib.rs:85:82
[INFO] [stdout]    |
[INFO] [stdout] 85 | let record = recover(&client_state, &client_hint, &answer_cipher, &query_cipher, plaintext_mod);
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 53) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `setup` in this scope
[INFO] [stdout]   --> src/lib.rs:54:34
[INFO] [stdout]    |
[INFO] [stdout] 54 | let (server_hint, client_hint) = setup(&compressed_db, secret_dimension);
[INFO] [stdout]    |                                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 53 + use simplepir::setup;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `compressed_db` in this scope
[INFO] [stdout]   --> src/lib.rs:54:41
[INFO] [stdout]    |
[INFO] [stdout] 54 | let (server_hint, client_hint) = setup(&compressed_db, secret_dimension);
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret_dimension` in this scope
[INFO] [stdout]   --> src/lib.rs:54:56
[INFO] [stdout]    |
[INFO] [stdout] 54 | let (server_hint, client_hint) = setup(&compressed_db, secret_dimension);
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 27) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]   --> src/lib.rs:28:14
[INFO] [stdout]    |
[INFO] [stdout] 28 | let matrix = Matrix::from_data(
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 27 + use simplepir::Matrix;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Database`
[INFO] [stdout]   --> src/lib.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | let db = Database::from_matrix(matrix, mod_power);
[INFO] [stdout]    |          ^^^^^^^^ use of undeclared type `Database`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 27 + use simplepir::Database;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mod_power` in this scope
[INFO] [stdout]   --> src/lib.rs:36:40
[INFO] [stdout]    |
[INFO] [stdout] 36 | let db = Database::from_matrix(matrix, mod_power);
[INFO] [stdout]    |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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] ---- src/lib.rs - (line 63) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `query` in this scope
[INFO] [stdout]   --> src/lib.rs:65:36
[INFO] [stdout]    |
[INFO] [stdout] 65 | let (client_state, query_cipher) = query(index, 4, secret_dimension, server_hint,
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 63 + use simplepir::query;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `secret_dimension` in this scope
[INFO] [stdout]   --> src/lib.rs:65:52
[INFO] [stdout]    |
[INFO] [stdout] 65 | let (client_state, query_cipher) = query(index, 4, secret_dimension, server_hint,
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `server_hint` in this scope
[INFO] [stdout]   --> src/lib.rs:65:70
[INFO] [stdout]    |
[INFO] [stdout] 65 | let (client_state, query_cipher) = query(index, 4, secret_dimension, server_hint,
[INFO] [stdout]    |                                                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `plaintext_mod` in this scope
[INFO] [stdout]   --> src/lib.rs:66:1
[INFO] [stdout]    |
[INFO] [stdout] 66 | plaintext_mod);
[INFO] [stdout]    | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 40) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]   --> src/lib.rs:41:21
[INFO] [stdout]    |
[INFO] [stdout] 41 | let compressed_db = db.compress();
[INFO] [stdout]    |                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 89) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `database` in this scope
[INFO] [stdout]   --> src/lib.rs:90:12
[INFO] [stdout]    |
[INFO] [stdout] 90 | assert_eq!(database.get(index).unwrap(), record);
[INFO] [stdout]    |            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `index` in this scope
[INFO] [stdout]   --> src/lib.rs:90:25
[INFO] [stdout]    |
[INFO] [stdout] 90 | assert_eq!(database.get(index).unwrap(), record);
[INFO] [stdout]    |                         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `record` in this scope
[INFO] [stdout]   --> src/lib.rs:90:42
[INFO] [stdout]    |
[INFO] [stdout] 90 | assert_eq!(database.get(index).unwrap(), record);
[INFO] [stdout]    |                                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 27)
[INFO] [stdout]     src/lib.rs - (line 40)
[INFO] [stdout]     src/lib.rs - (line 53)
[INFO] [stdout]     src/lib.rs - (line 63)
[INFO] [stdout]     src/lib.rs - (line 77)
[INFO] [stdout]     src/lib.rs - (line 84)
[INFO] [stdout]     src/lib.rs - (line 89)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8770fa368e5645eb46830453c80bee97008aab3db4584c1c248a49ff1aaa4023", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8770fa368e5645eb46830453c80bee97008aab3db4584c1c248a49ff1aaa4023", kill_on_drop: false }`
[INFO] [stdout] 8770fa368e5645eb46830453c80bee97008aab3db4584c1c248a49ff1aaa4023
