Package evaluation to test OpenFHE on Julia 1.11.8 (29b3528cce*) started at 2026-01-20T02:47:43.891 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.11` Set-up completed after 8.16s ################################################################################ # Installation # Installing OpenFHE... Resolving package versions... Updating `~/.julia/environments/v1.11/Project.toml` [77ce9b8e] + OpenFHE v0.1.14 Updating `~/.julia/environments/v1.11/Manifest.toml` [1f15a43c] + CxxWrap v0.17.4 [692b3bcd] + JLLWrappers v1.7.1 [1914dd2f] + MacroTools v0.5.16 [77ce9b8e] + OpenFHE v0.1.14 [21216c6a] + Preferences v1.5.1 [1d63c593] + LLVMOpenMP_jll v18.1.8+0 [a89a0bdd] + OpenFHE_int128_jll v1.4.2+0 [a2687184] + OpenFHE_jll v1.4.2+0 [3eaa8342] + libcxxwrap_julia_jll v0.14.7+0 [328aa5c7] + openfhe_julia_int128_jll v0.5.0+0 [e5e97983] + openfhe_julia_jll v0.5.0+0 [56f22d72] + Artifacts v1.11.0 [ade2ca70] + Dates v1.11.0 [8f399da3] + Libdl v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.1.1+0 Installation completed after 1.94s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling project... 1079.3 ms ✓ OpenFHE_jll 912.1 ms ✓ OpenFHE_int128_jll 1171.5 ms ✓ openfhe_julia_jll 1177.7 ms ✓ openfhe_julia_int128_jll 25705.9 ms ✓ OpenFHE 5 dependencies successfully precompiled in 30 seconds. 18 already precompiled. 1 dependency had output during precompilation: ┌ OpenFHE │ ┌ Warning: Replacing docs for `OpenFHE.GetEncodingParams :: Union{}` in module `OpenFHE` │ └ @ Base.Docs docs/Docs.jl:243 └ Precompilation completed after 41.06s ################################################################################ # Testing # Testing OpenFHE Status `/tmp/jl_8poYzL/Project.toml` [77ce9b8e] OpenFHE v0.1.14 [8dfed614] Test v1.11.0 Status `/tmp/jl_8poYzL/Manifest.toml` [1f15a43c] CxxWrap v0.17.4 [692b3bcd] JLLWrappers v1.7.1 [1914dd2f] MacroTools v0.5.16 [77ce9b8e] OpenFHE v0.1.14 [21216c6a] Preferences v1.5.1 [1d63c593] LLVMOpenMP_jll v18.1.8+0 [a89a0bdd] OpenFHE_int128_jll v1.4.2+0 [a2687184] OpenFHE_jll v1.4.2+0 [3eaa8342] libcxxwrap_julia_jll v0.14.7+0 [328aa5c7] openfhe_julia_int128_jll v0.5.0+0 [e5e97983] openfhe_julia_jll v0.5.0+0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [8f399da3] Libdl v1.11.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [fa267f1f] TOML v1.0.3 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.1.1+0 Testing Running tests... Tests for native_int = 64 ┌ Warning: `Compress(crypto_context, ciphertext, levels_left)` is deprecated, use `Compress(crypto_context, ciphertext; levels_left)` instead. │ caller = #Compress#55 at convenience.jl:170 [inlined] └ @ Core ~/.julia/packages/OpenFHE/ybO10/src/convenience.jl:170 CCParams{CryptoContextCKKSRNS}() CryptoContextCKKSRNS() CryptoContext{DCRTPoly}() Ciphertext{DCRTPoly}() Plaintext() PublicKey{DCRTPoly}() PrivateKey{DCRTPoly}() DecryptResult() EncodingParams() Plaintext #1: (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Plaintext #2: (3, 2, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Plaintext #3: (1, 2, 5, 2, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Results of homomorphic computations #1 + #2 + #3: (5, 6, 9, 10, 15, 18, 21, 24, 27, 30, 33, 36, ... ) #1 * #2 * #3: (3, 8, 15, 32, 125, 216, 343, 512, 729, 1000, 1331, 1728, ... ) Left rotation of #1 by 1: (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Left rotation of #1 by 2: (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Right rotation of #1 by 1: (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ... ) Right rotation of #1 by 2: (0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ... ) Plaintext #1: (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Plaintext #2: (3, 2, 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Plaintext #3: (1, 2, 5, 2, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Results of homomorphic computations #1 + #2 + #3: (5, 6, 9, 10, 15, 18, 21, 24, 27, 30, 33, 36, ... ) #1 * #2 * #3: (3, 8, 15, 32, 125, 216, 343, 512, 729, 1000, 1331, 1728, ... ) Left rotation of #1 by 1: (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Left rotation of #1 by 2: (3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ... ) Right rotation of #1 by 1: (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ... ) Right rotation of #1 by 2: (0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ... ) CKKS scheme is using ring dimension 16384 Input x1: (0.25, 0.5, 0.75, 1, 2, 3, 4, 5, ... ); Estimated precision: 50 bits Input x2: (5, 4, 3, 2, 1, 0.75, 0.5, 0.25, ... ); Estimated precision: 50 bits Results of homomorphic computations: x1 = (0.25, 0.5, 0.75, 1, 2, 3, 4, 5, ... ); Estimated precision: 43 bits Estimated precision in bits: 43.0 x1 + x2 = (5.25, 4.5, 3.75, 3, 3, 3.75, 4.5, 5.25, ... ); Estimated precision: 43 bits Estimated precision in bits: 43.0 x1 - x2 = (-4.75, -3.5, -2.25, -1, 1, 2.25, 3.5, 4.75, ... ); Estimated precision: 43 bits 4 * x1 = (1, 2, 3, 4, 8, 12, 16, 20, ... ); Estimated precision: 42 bits x1 * x2 = (1.25, 2, 2.25, 2, 2, 2.25, 2, 1.25, ... ); Estimated precision: 41 bits In rotations, very small outputs (~10^-10 here) correspond to 0's: x1 rotate by 1 = (0.5, 0.75, 1, 2, 3, 4, 5, 0.25, ... ); Estimated precision: 43 bits x1 rotate by -2 = (4, 5, 0.25, 0.5, 0.75, 1, 2, 3, ... ); Estimated precision: 43 bits CKKS scheme is using ring dimension 4096 Input: (0.25, 0.5, 0.75, 1, 2, 3, 4, 5, ... ); Estimated precision: 59 bits Initial number of levels remaining: 1 Number of levels remaining after bootstrapping: 11 Output after bootstrapping (0.25000265, 0.50000168, 0.74999645, 0.99999476, 2.000002, 2.9999977, 4.0000062, 4.9999985, ... ); Estimated precision: 18 bits Test Summary: | Pass Total Time OpenFHE.jl tests | 75 75 47.4s test_auxiliary.jl | 7 7 7.1s library_path | 1 1 0.1s set_library! | 2 2 6.3s set_native_int! | 4 4 0.6s test_bfv.jl | 5 5 1.4s CCParams | 3 3 0.3s MakePackedPlaintext | 2 2 0.3s test_bgv.jl | 3 3 0.2s CCParams | 3 3 0.2s test_ckks.jl | 47 47 11.4s CCParams | 4 4 0.4s get_native_int | 2 2 0.2s CryptoContext | 7 7 0.7s Key generation | 6 6 0.6s MakeCKKSPackedPlaintext | 1 1 0.2s Encrypt | 1 1 0.1s Plaintext | 1 1 0.0s Decrypt | 1 1 0.1s GetRealPackedValue | 1 1 3.2s EvalAdd | 2 2 0.4s EvalSub | 2 2 0.4s EvalMult (cipher * constant) | 2 2 0.3s EvalMult (cipher1 * cipher2) | 2 2 0.5s EvalRotate | 2 2 0.4s EvalSum | 2 2 0.6s Compress_Positional4 | 2 2 0.1s Compress_Positional3 | 2 2 2.1s Compress_Keyword | 2 2 0.0s GetCryptoContext | 1 1 0.1s GetEncodingParameters | 1 1 0.1s GetFullContextByDeserializedContext | 1 1 0.0s GetAllContexts | 1 1 0.0s GetContextCount | 1 1 0.0s test_convenience.jl | 9 9 2.1s show | 9 9 2.1s test_examples.jl | 4 4 13.5s examples/simple_integers.jl | 1 1 0.8s examples/simple_integers_bgvrns.jl | 1 1 0.6s examples/simple_real_numbers.jl | 1 1 0.8s examples/simple_ckks_bootstrapping.jl | 1 1 11.3s 47.735126 seconds (10.54 M allocations: 542.212 MiB, 0.88% gc time, 48.46% compilation time) Testing OpenFHE tests passed Testing completed after 51.87s PkgEval succeeded after 110.72s