[INFO] cloning repository https://github.com/DuckyDuckme/modelling-week-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DuckyDuckme/modelling-week-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuckyDuckme%2Fmodelling-week-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuckyDuckme%2Fmodelling-week-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1171a5c2964fc77e1d4516a3163794f444283f4c [INFO] testing DuckyDuckme/modelling-week-rust against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDuckyDuckme%2Fmodelling-week-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DuckyDuckme/modelling-week-rust on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DuckyDuckme/modelling-week-rust [INFO] finished tweaking git repo https://github.com/DuckyDuckme/modelling-week-rust [INFO] tweaked toml for git repo https://github.com/DuckyDuckme/modelling-week-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DuckyDuckme/modelling-week-rust 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded concrete-fft v0.3.0 [INFO] [stderr] Downloaded fftw v0.5.1 [INFO] [stderr] Downloaded pulp v0.13.2 [INFO] [stderr] Downloaded concrete-csprng v0.2.2 [INFO] [stderr] Downloaded concrete v0.2.1 [INFO] [stderr] Downloaded pulp v0.11.11 [INFO] [stderr] Downloaded concrete-csprng v0.4.0 [INFO] [stderr] Downloaded concrete-fft v0.1.0 [INFO] [stderr] Downloaded kolmogorov_smirnov v1.1.0 [INFO] [stderr] Downloaded concrete_lib v0.1.5 [INFO] [stderr] Downloaded concrete-core v1.0.2 [INFO] [stderr] Downloaded tfhe v0.4.1 [INFO] [stderr] Downloaded fftw-sys v0.4.0 [INFO] [stderr] Downloaded concrete-boolean v0.2.1 [INFO] [stderr] Downloaded dyn-stack v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d0902398a8f7b901ea40702704e3aaa1f64117856b567d6c07f68051b840cad [INFO] running `Command { std: "docker" "start" "-a" "1d0902398a8f7b901ea40702704e3aaa1f64117856b567d6c07f68051b840cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d0902398a8f7b901ea40702704e3aaa1f64117856b567d6c07f68051b840cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d0902398a8f7b901ea40702704e3aaa1f64117856b567d6c07f68051b840cad", kill_on_drop: false }` [INFO] [stdout] 1d0902398a8f7b901ea40702704e3aaa1f64117856b567d6c07f68051b840cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 446d94feb4e8d984557ef8a7b3e654f04011874501474da4d65e66b382845c6f [INFO] running `Command { std: "docker" "start" "-a" "446d94feb4e8d984557ef8a7b3e654f04011874501474da4d65e66b382845c6f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling concrete-csprng v0.2.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling dyn-stack v0.8.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling concrete-csprng v0.4.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling dyn-stack v0.9.1 [INFO] [stderr] Compiling pulp v0.11.11 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling concrete_lib v0.1.5 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling fftw-sys v0.4.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tfhe v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling kolmogorov_smirnov v1.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling concrete v0.2.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling fftw v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling concrete-fft v0.1.0 [INFO] [stderr] Compiling concrete-fft v0.3.0 [INFO] [stderr] Compiling pulp v0.13.2 [INFO] [stderr] Compiling concrete-core v1.0.2 [INFO] [stderr] Compiling concrete-boolean v0.2.1 [INFO] [stderr] Compiling modelling-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `truth` [INFO] [stdout] --> src/test.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let truth = pk.trivial_encrypt(true); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_truth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N_BITS_PER_CHAR` is never used [INFO] [stdout] --> src/test.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const N_BITS_PER_CHAR: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/test.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_enc_vec` is never used [INFO] [stdout] --> src/test.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn str_to_enc_vec(sk: &ClientKey, plaintext: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bits_are_equal` is never used [INFO] [stdout] --> src/test.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn bits_are_equal(pk: &ServerKey, a: &Ciphertext, b: &Ciphertext) -> Ciphertext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `are_equal` is never used [INFO] [stdout] --> src/test.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn are_equal(pk: &ServerKey, a: &[Ciphertext], b: &[Ciphertext]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_sub` is never used [INFO] [stdout] --> src/test.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn search_sub(pk: &ServerKey, a: &[Ciphertext], b: &[Ciphertext]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: concrete_lib v0.1.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "446d94feb4e8d984557ef8a7b3e654f04011874501474da4d65e66b382845c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "446d94feb4e8d984557ef8a7b3e654f04011874501474da4d65e66b382845c6f", kill_on_drop: false }` [INFO] [stdout] 446d94feb4e8d984557ef8a7b3e654f04011874501474da4d65e66b382845c6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c12fa903cca5a1a54a9274592338ffb4019952daeab215a5b574833edd37a94 [INFO] running `Command { std: "docker" "start" "-a" "7c12fa903cca5a1a54a9274592338ffb4019952daeab215a5b574833edd37a94", kill_on_drop: false }` [INFO] [stderr] Compiling modelling-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `truth` [INFO] [stdout] --> src/test.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let truth = pk.trivial_encrypt(true); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_truth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N_BITS_PER_CHAR` is never used [INFO] [stdout] --> src/test.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const N_BITS_PER_CHAR: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/test.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_enc_vec` is never used [INFO] [stdout] --> src/test.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn str_to_enc_vec(sk: &ClientKey, plaintext: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bits_are_equal` is never used [INFO] [stdout] --> src/test.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn bits_are_equal(pk: &ServerKey, a: &Ciphertext, b: &Ciphertext) -> Ciphertext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `are_equal` is never used [INFO] [stdout] --> src/test.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn are_equal(pk: &ServerKey, a: &[Ciphertext], b: &[Ciphertext]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_sub` is never used [INFO] [stdout] --> src/test.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn search_sub(pk: &ServerKey, a: &[Ciphertext], b: &[Ciphertext]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: concrete_lib v0.1.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7c12fa903cca5a1a54a9274592338ffb4019952daeab215a5b574833edd37a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c12fa903cca5a1a54a9274592338ffb4019952daeab215a5b574833edd37a94", kill_on_drop: false }` [INFO] [stdout] 7c12fa903cca5a1a54a9274592338ffb4019952daeab215a5b574833edd37a94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2606e092ab152a587031b32bd1e31e1af94b6c988e9d77a3daa0f85dec52fc1 [INFO] running `Command { std: "docker" "start" "-a" "a2606e092ab152a587031b32bd1e31e1af94b6c988e9d77a3daa0f85dec52fc1", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `truth` [INFO] [stderr] --> src/test.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 127 | let truth = pk.trivial_encrypt(true); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_truth` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `N_BITS_PER_CHAR` is never used [INFO] [stderr] --> src/test.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const N_BITS_PER_CHAR: usize = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `test` is never used [INFO] [stderr] --> src/test.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn test() { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `str_to_enc_vec` is never used [INFO] [stderr] --> src/test.rs:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | fn str_to_enc_vec(sk: &ClientKey, plaintext: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bits_are_equal` is never used [INFO] [stderr] --> src/test.rs:91:4 [INFO] [stderr] | [INFO] [stderr] 91 | fn bits_are_equal(pk: &ServerKey, a: &Ciphertext, b: &Ciphertext) -> Ciphertext { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `are_equal` is never used [INFO] [stderr] --> src/test.rs:96:4 [INFO] [stderr] | [INFO] [stderr] 96 | fn are_equal(pk: &ServerKey, a: &[Ciphertext], b: &[Ciphertext]) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `search_sub` is never used [INFO] [stderr] --> src/test.rs:117:4 [INFO] [stderr] | [INFO] [stderr] 117 | fn search_sub(pk: &ServerKey, a: &[Ciphertext], b: &[Ciphertext]) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `modelling-rust` (bin "modelling-rust" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: concrete_lib v0.1.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/modelling_rust-d702b407b1855b21) [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] running `Command { std: "docker" "inspect" "a2606e092ab152a587031b32bd1e31e1af94b6c988e9d77a3daa0f85dec52fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2606e092ab152a587031b32bd1e31e1af94b6c988e9d77a3daa0f85dec52fc1", kill_on_drop: false }` [INFO] [stdout] a2606e092ab152a587031b32bd1e31e1af94b6c988e9d77a3daa0f85dec52fc1