[INFO] cloning repository https://github.com/GiorgioNicita/Quantumsafekeychain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GiorgioNicita/Quantumsafekeychain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiorgioNicita%2FQuantumsafekeychain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiorgioNicita%2FQuantumsafekeychain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6bf2c96a07785ffa7d24065b0cc0983b77b576a0
[INFO] building GiorgioNicita/Quantumsafekeychain against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiorgioNicita%2FQuantumsafekeychain" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GiorgioNicita/Quantumsafekeychain on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/GiorgioNicita/Quantumsafekeychain
[INFO] finished tweaking git repo https://github.com/GiorgioNicita/Quantumsafekeychain
[INFO] tweaked toml for git repo https://github.com/GiorgioNicita/Quantumsafekeychain written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/GiorgioNicita/Quantumsafekeychain 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustyline v10.1.1
[INFO] [stderr]   Downloaded cstr_core v0.2.6
[INFO] [stderr]   Downloaded oqs v0.10.0
[INFO] [stderr]   Downloaded build-deps v0.1.4
[INFO] [stderr]   Downloaded oqs-sys v0.10.0+liboqs-0.12.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 50d868068c1ee2f3fcc4d1019ac30fc4af5c5d73076ac2384b618628d5ef7320
[INFO] running `Command { std: "docker" "start" "-a" "50d868068c1ee2f3fcc4d1019ac30fc4af5c5d73076ac2384b618628d5ef7320", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50d868068c1ee2f3fcc4d1019ac30fc4af5c5d73076ac2384b618628d5ef7320", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50d868068c1ee2f3fcc4d1019ac30fc4af5c5d73076ac2384b618628d5ef7320", kill_on_drop: false }`
[INFO] [stdout] 50d868068c1ee2f3fcc4d1019ac30fc4af5c5d73076ac2384b618628d5ef7320
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d0c88f44aa57e4b25e8f8f23787c83d3fd8802531a0dd8c7a6bc4c97d8ef81d
[INFO] running `Command { std: "docker" "start" "-a" "9d0c88f44aa57e4b25e8f8f23787c83d3fd8802531a0dd8c7a6bc4c97d8ef81d", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling cc v1.2.6
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling build-deps v0.1.4
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling oqs v0.10.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling cstr_core v0.2.6
[INFO] [stderr]    Compiling cmake v0.1.52
[INFO] [stderr]    Compiling syn v2.0.93
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling fd-lock v3.0.13
[INFO] [stderr]    Compiling rustyline v10.1.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling oqs-sys v0.10.0+liboqs-0.12.0
[INFO] [stderr]    Compiling quantumsafe v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `oqs::kem::SecretKey` in the current scope
[INFO] [stdout]   --> src/encrypt.rs:66:33
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let secret_key = SecretKey::from_bytes(&private_key_bytes).expect("Failed to load private key");
[INFO] [stdout]    |                                 ^^^^^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `Ciphertext` in the current scope
[INFO] [stdout]    --> src/encrypt.rs:109:41
[INFO] [stdout]     |
[INFO] [stdout] 109 |     encrypted_file.write_all(ciphertext.as_slice()).expect("Failed to write encrypted file");
[INFO] [stdout]     |                                         ^^^^^^^^ method not found in `Ciphertext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/encrypt.rs:119:18
[INFO] [stdout]     |
[INFO] [stdout] 119 |     encrypt_file(&mut rl);
[INFO] [stdout]     |     ------------ ^^^^^^^ expected `&mut Editor<()>`, found `&mut Result<Editor<()>, ...>`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut Editor<_>`
[INFO] [stdout]                found mutable reference `&mut Result<Editor<_>, ReadlineError>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/encrypt.rs:7:8
[INFO] [stdout]     |
[INFO] [stdout] 7   | pub fn encrypt_file(rl: &mut Editor<()>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^ -------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |                     "2" => encrypt::encrypt_file(),
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `&mut Editor<()>` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/encrypt.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub fn encrypt_file(rl: &mut Editor<()>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^ -------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 30 |                     "2" => encrypt::encrypt_file(/* &mut Editor<()> */),
[INFO] [stdout]    |                                                 ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quantumsafe` (bin "quantumsafe") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "9d0c88f44aa57e4b25e8f8f23787c83d3fd8802531a0dd8c7a6bc4c97d8ef81d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d0c88f44aa57e4b25e8f8f23787c83d3fd8802531a0dd8c7a6bc4c97d8ef81d", kill_on_drop: false }`
[INFO] [stdout] 9d0c88f44aa57e4b25e8f8f23787c83d3fd8802531a0dd8c7a6bc4c97d8ef81d
