[INFO] fetching crate culqi_rust 1.0.0...
[INFO] testing culqi_rust-1.0.0 against 1.75.0 for beta-1.76-1
[INFO] extracting crate culqi_rust 1.0.0 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate culqi_rust 1.0.0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate culqi_rust 1.0.0
[INFO] finished tweaking crates.io crate culqi_rust 1.0.0
[INFO] tweaked toml for crates.io crate culqi_rust 1.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crypto v0.5.1
[INFO] [stderr]   Downloaded pem-rfc7468 v0.2.4
[INFO] [stderr]   Downloaded crypto-bigint v0.2.11
[INFO] [stderr]   Downloaded der-oid-macro v0.4.0
[INFO] [stderr]   Downloaded spki v0.4.1
[INFO] [stderr]   Downloaded der v0.4.5
[INFO] [stderr]   Downloaded const-oid v0.6.2
[INFO] [stderr]   Downloaded base64ct v1.1.1
[INFO] [stderr]   Downloaded oid-registry v0.1.5
[INFO] [stderr]   Downloaded rusticata-macros v3.2.0
[INFO] [stderr]   Downloaded der-parser v5.1.2
[INFO] [stderr]   Downloaded num-bigint-dig v0.7.1
[INFO] [stderr]   Downloaded bitvec v0.19.6
[INFO] [stderr]   Downloaded nom v6.1.2
[INFO] [stderr]   Downloaded rsa v0.5.0
[INFO] [stderr]   Downloaded pkcs1 v0.2.4
[INFO] [stderr]   Downloaded x509-parser v0.9.2
[INFO] [stderr]   Downloaded pkcs8 v0.7.6
[INFO] [stderr]   Downloaded radium v0.5.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0934848fd696952e6fe9b3068c0ecf2c4917cf1d667c65a33286160ad433ebef
[INFO] running `Command { std: "docker" "start" "-a" "0934848fd696952e6fe9b3068c0ecf2c4917cf1d667c65a33286160ad433ebef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0934848fd696952e6fe9b3068c0ecf2c4917cf1d667c65a33286160ad433ebef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0934848fd696952e6fe9b3068c0ecf2c4917cf1d667c65a33286160ad433ebef", kill_on_drop: false }`
[INFO] [stdout] 0934848fd696952e6fe9b3068c0ecf2c4917cf1d667c65a33286160ad433ebef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a4f99718731595fa79f43843a131fedece6ca5d9c15b7ac0746d002cf4d29fa
[INFO] running `Command { std: "docker" "start" "-a" "6a4f99718731595fa79f43843a131fedece6ca5d9c15b7ac0746d002cf4d29fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling radium v0.5.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.9+1.58.0
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling bitvec v0.19.6
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling curl-sys v0.4.70+curl-8.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling crypto-bigint v0.2.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling const-oid v0.6.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling der v0.4.5
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling zeroize v1.4.3
[INFO] [stderr]    Compiling base64ct v1.1.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.2.4
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling rusticata-macros v3.2.0
[INFO] [stderr]    Compiling concurrent-queue v2.4.0
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling der-oid-macro v0.4.0
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling num-bigint-dig v0.7.1
[INFO] [stderr]    Compiling oid-registry v0.1.5
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling der-parser v5.1.2
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pkcs1 v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling spki v0.4.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling isahc v1.7.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling waker-fn v1.1.1
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling pkcs8 v0.7.6
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling sluice v0.5.5
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling castaway v0.1.2
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling x509-parser v0.9.2
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling reqwest v0.10.10
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling aes-gcm v0.9.4
[INFO] [stderr]    Compiling crypto v0.5.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling rsa v0.5.0
[INFO] [stderr]    Compiling pem v1.1.1
[INFO] [stderr]    Compiling culqi_rust v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Encrypt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Culqi.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Aead`
[INFO] [stdout]  --> src/Culqi.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use aes_gcm::aead::{Aead};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]  --> src/Culqi.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rsa::{PublicKey};
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::create`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Culqi::create;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::add`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use Culqi::add;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::createEncrypt`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use Culqi::createEncrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::delete`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use Culqi::delete;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::get`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use Culqi::get;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encrypt::encrypt`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use Encrypt::encrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `isahc::prelude::*`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use isahc::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::TryInto;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs8::der::Decodable`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::pkcs8::der::Decodable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs1::FromRsaPublicKey`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rsa::pkcs1::FromRsaPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Aead`, `NewAead`
[INFO] [stdout]   --> src/lib.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | use aes_gcm::aead::{Aead, NewAead};
[INFO] [stdout]    |                     ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/Encrypt.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/Encrypt.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut plaintext = serde_json::to_string(&json_data)?.as_bytes().to_vec();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt` is never used
[INFO] [stdout]    --> src/Encrypt.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn encrypt(data: &str, publicKey: &str, is_json: bool) -> Result<HashMap<String, String>, MyError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `skey` is never used
[INFO] [stdout]   --> src/Culqi.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pkey` is never used
[INFO] [stdout]   --> src/Culqi.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `rsaid` is never used
[INFO] [stdout]   --> src/Culqi.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CULQI_RSA_KEY` is never used
[INFO] [stdout]   --> src/Culqi.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CULQI_RSA_KEY: &'static str = "-----BEGIN PUBLIC KEY-----
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SECUREURL` is never used
[INFO] [stdout]   --> src/Culqi.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const SECUREURL: &'static str = "https://qa-secure.culqi.xyz/v2/tokens";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BASEURL` is never used
[INFO] [stdout]   --> src/Culqi.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const BASEURL: &'static str = "https://qa-api.culqi.xyz/v2/";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]    --> src/Culqi.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub fn add(left: usize, right: usize) -> usize {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResponseData` is never constructed
[INFO] [stdout]    --> src/Culqi.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct ResponseData {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createEncrypt` is never used
[INFO] [stdout]    --> src/Culqi.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn createEncrypt(
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]    --> src/Culqi.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub fn create(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]    --> src/Culqi.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub fn get(
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete` is never used
[INFO] [stdout]    --> src/Culqi.rs:241:8
[INFO] [stdout]     |
[INFO] [stdout] 241 | pub fn delete(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Encrypt` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod Encrypt;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `encrypt`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Culqi` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod Culqi;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `culqi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `publicKey` should have a snake case name
[INFO] [stdout]    --> src/Encrypt.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn encrypt(data: &str, publicKey: &str, is_json: bool) -> Result<HashMap<String, String>, MyError> {
[INFO] [stdout]     |                            ^^^^^^^^^ help: convert the identifier to snake case: `public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `skey` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |       ^^^^ help: convert the identifier to upper case: `SKEY`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pkey` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |       ^^^^ help: convert the identifier to upper case: `PKEY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `rsaid` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `RSAID`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createEncrypt` should have a snake case name
[INFO] [stdout]    --> src/Culqi.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn createEncrypt(
[INFO] [stdout]     |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_encrypt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 57.05s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2
[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" "6a4f99718731595fa79f43843a131fedece6ca5d9c15b7ac0746d002cf4d29fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a4f99718731595fa79f43843a131fedece6ca5d9c15b7ac0746d002cf4d29fa", kill_on_drop: false }`
[INFO] [stdout] 6a4f99718731595fa79f43843a131fedece6ca5d9c15b7ac0746d002cf4d29fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 423b89741692c865955ecef794f1ceae8a50bc89aed6269dc991932ddfdb0364
[INFO] running `Command { std: "docker" "start" "-a" "423b89741692c865955ecef794f1ceae8a50bc89aed6269dc991932ddfdb0364", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Encrypt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Culqi.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Aead`
[INFO] [stdout]  --> src/Culqi.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use aes_gcm::aead::{Aead};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]  --> src/Culqi.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rsa::{PublicKey};
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::create`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Culqi::create;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::add`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use Culqi::add;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::createEncrypt`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use Culqi::createEncrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::delete`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use Culqi::delete;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::get`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use Culqi::get;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encrypt::encrypt`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use Encrypt::encrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `isahc::prelude::*`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use isahc::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::TryInto;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs8::der::Decodable`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::pkcs8::der::Decodable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs1::FromRsaPublicKey`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rsa::pkcs1::FromRsaPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Aead`, `NewAead`
[INFO] [stdout]   --> src/lib.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | use aes_gcm::aead::{Aead, NewAead};
[INFO] [stdout]    |                     ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/Encrypt.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/Encrypt.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut plaintext = serde_json::to_string(&json_data)?.as_bytes().to_vec();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt` is never used
[INFO] [stdout]    --> src/Encrypt.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn encrypt(data: &str, publicKey: &str, is_json: bool) -> Result<HashMap<String, String>, MyError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `skey` is never used
[INFO] [stdout]   --> src/Culqi.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pkey` is never used
[INFO] [stdout]   --> src/Culqi.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `rsaid` is never used
[INFO] [stdout]   --> src/Culqi.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CULQI_RSA_KEY` is never used
[INFO] [stdout]   --> src/Culqi.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CULQI_RSA_KEY: &'static str = "-----BEGIN PUBLIC KEY-----
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SECUREURL` is never used
[INFO] [stdout]   --> src/Culqi.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const SECUREURL: &'static str = "https://qa-secure.culqi.xyz/v2/tokens";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BASEURL` is never used
[INFO] [stdout]   --> src/Culqi.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const BASEURL: &'static str = "https://qa-api.culqi.xyz/v2/";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]    --> src/Culqi.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub fn add(left: usize, right: usize) -> usize {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResponseData` is never constructed
[INFO] [stdout]    --> src/Culqi.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct ResponseData {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createEncrypt` is never used
[INFO] [stdout]    --> src/Culqi.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn createEncrypt(
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]    --> src/Culqi.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub fn create(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]    --> src/Culqi.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub fn get(
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete` is never used
[INFO] [stdout]    --> src/Culqi.rs:241:8
[INFO] [stdout]     |
[INFO] [stdout] 241 | pub fn delete(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Encrypt` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod Encrypt;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `encrypt`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Culqi` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod Culqi;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `culqi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `publicKey` should have a snake case name
[INFO] [stdout]    --> src/Encrypt.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn encrypt(data: &str, publicKey: &str, is_json: bool) -> Result<HashMap<String, String>, MyError> {
[INFO] [stdout]     |                            ^^^^^^^^^ help: convert the identifier to snake case: `public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `skey` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |       ^^^^ help: convert the identifier to upper case: `SKEY`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pkey` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |       ^^^^ help: convert the identifier to upper case: `PKEY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `rsaid` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `RSAID`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createEncrypt` should have a snake case name
[INFO] [stdout]    --> src/Culqi.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn createEncrypt(
[INFO] [stdout]     |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_encrypt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling culqi_rust v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Encrypt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Culqi.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Aead`
[INFO] [stdout]  --> src/Culqi.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use aes_gcm::aead::{Aead};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]  --> src/Culqi.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rsa::{PublicKey};
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encrypt::encrypt`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use Encrypt::encrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `isahc::prelude::*`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use isahc::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::TryInto;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs8::der::Decodable`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::pkcs8::der::Decodable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs1::FromRsaPublicKey`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rsa::pkcs1::FromRsaPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Aead`, `NewAead`
[INFO] [stdout]   --> src/lib.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | use aes_gcm::aead::{Aead, NewAead};
[INFO] [stdout]    |                     ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `update` in this scope
[INFO] [stdout]    --> src/lib.rs:126:19
[INFO] [stdout]     |
[INFO] [stdout] 126 |             match update("tokens", "tkn_test_20HjpSkdDlSdoHEC" ,body) {
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/Encrypt.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `culqi_rust` (lib test) due to 2 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "423b89741692c865955ecef794f1ceae8a50bc89aed6269dc991932ddfdb0364", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "423b89741692c865955ecef794f1ceae8a50bc89aed6269dc991932ddfdb0364", kill_on_drop: false }`
[INFO] [stdout] 423b89741692c865955ecef794f1ceae8a50bc89aed6269dc991932ddfdb0364
[INFO] testing culqi_rust-1.0.0 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate culqi_rust 1.0.0 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate culqi_rust 1.0.0 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate culqi_rust 1.0.0
[INFO] finished tweaking crates.io crate culqi_rust 1.0.0
[INFO] tweaked toml for crates.io crate culqi_rust 1.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5a11fe30e27f83527b159eb8622512c3309a526f01c4191ba72fd9e45cfbad8
[INFO] running `Command { std: "docker" "start" "-a" "c5a11fe30e27f83527b159eb8622512c3309a526f01c4191ba72fd9e45cfbad8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5a11fe30e27f83527b159eb8622512c3309a526f01c4191ba72fd9e45cfbad8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5a11fe30e27f83527b159eb8622512c3309a526f01c4191ba72fd9e45cfbad8", kill_on_drop: false }`
[INFO] [stdout] c5a11fe30e27f83527b159eb8622512c3309a526f01c4191ba72fd9e45cfbad8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d834caf3c668f7f9d87408debe21c49d51f91e9e20abb48e6f69044696d34bb
[INFO] running `Command { std: "docker" "start" "-a" "1d834caf3c668f7f9d87408debe21c49d51f91e9e20abb48e6f69044696d34bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling radium v0.5.3
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling libz-sys v1.1.12
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.9+1.58.0
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling bitvec v0.19.6
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling curl-sys v0.4.70+curl-8.5.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling crypto-bigint v0.2.11
[INFO] [stderr]    Compiling const-oid v0.6.2
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling der v0.4.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling zeroize v1.4.3
[INFO] [stderr]    Compiling base64ct v1.1.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pem-rfc7468 v0.2.4
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling rusticata-macros v3.2.0
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling concurrent-queue v2.4.0
[INFO] [stderr]    Compiling der-oid-macro v0.4.0
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling num-bigint-dig v0.7.1
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling oid-registry v0.1.5
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling curl v0.4.44
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling der-parser v5.1.2
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pkcs1 v0.2.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling spki v0.4.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling isahc v1.7.2
[INFO] [stderr]    Compiling waker-fn v1.1.1
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling pkcs8 v0.7.6
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling sluice v0.5.5
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling castaway v0.1.2
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling reqwest v0.10.10
[INFO] [stderr]    Compiling x509-parser v0.9.2
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling crypto v0.5.1
[INFO] [stderr]    Compiling aes-gcm v0.9.4
[INFO] [stderr]    Compiling rsa v0.5.0
[INFO] [stderr]    Compiling pem v1.1.1
[INFO] [stderr]    Compiling culqi_rust v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Encrypt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Culqi.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Aead`
[INFO] [stdout]  --> src/Culqi.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use aes_gcm::aead::{Aead};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]  --> src/Culqi.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rsa::{PublicKey};
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::create`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Culqi::create;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::add`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use Culqi::add;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::createEncrypt`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use Culqi::createEncrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::delete`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use Culqi::delete;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::get`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use Culqi::get;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encrypt::encrypt`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use Encrypt::encrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `isahc::prelude::*`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use isahc::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::TryInto;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs8::der::Decodable`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::pkcs8::der::Decodable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs1::FromRsaPublicKey`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rsa::pkcs1::FromRsaPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Aead`, `NewAead`
[INFO] [stdout]   --> src/lib.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | use aes_gcm::aead::{Aead, NewAead};
[INFO] [stdout]    |                     ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/Encrypt.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/Encrypt.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut plaintext = serde_json::to_string(&json_data)?.as_bytes().to_vec();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt` is never used
[INFO] [stdout]    --> src/Encrypt.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn encrypt(data: &str, publicKey: &str, is_json: bool) -> Result<HashMap<String, String>, MyError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `skey` is never used
[INFO] [stdout]   --> src/Culqi.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pkey` is never used
[INFO] [stdout]   --> src/Culqi.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `rsaid` is never used
[INFO] [stdout]   --> src/Culqi.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CULQI_RSA_KEY` is never used
[INFO] [stdout]   --> src/Culqi.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CULQI_RSA_KEY: &'static str = "-----BEGIN PUBLIC KEY-----
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SECUREURL` is never used
[INFO] [stdout]   --> src/Culqi.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const SECUREURL: &'static str = "https://qa-secure.culqi.xyz/v2/tokens";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BASEURL` is never used
[INFO] [stdout]   --> src/Culqi.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const BASEURL: &'static str = "https://qa-api.culqi.xyz/v2/";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]    --> src/Culqi.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub fn add(left: usize, right: usize) -> usize {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResponseData` is never constructed
[INFO] [stdout]    --> src/Culqi.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct ResponseData {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createEncrypt` is never used
[INFO] [stdout]    --> src/Culqi.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn createEncrypt(
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]    --> src/Culqi.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub fn create(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]    --> src/Culqi.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub fn get(
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete` is never used
[INFO] [stdout]    --> src/Culqi.rs:241:8
[INFO] [stdout]     |
[INFO] [stdout] 241 | pub fn delete(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Encrypt` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod Encrypt;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `encrypt`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Culqi` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod Culqi;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `culqi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `publicKey` should have a snake case name
[INFO] [stdout]    --> src/Encrypt.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn encrypt(data: &str, publicKey: &str, is_json: bool) -> Result<HashMap<String, String>, MyError> {
[INFO] [stdout]     |                            ^^^^^^^^^ help: convert the identifier to snake case: `public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `skey` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |       ^^^^ help: convert the identifier to upper case: `SKEY`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pkey` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |       ^^^^ help: convert the identifier to upper case: `PKEY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `rsaid` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `RSAID`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createEncrypt` should have a snake case name
[INFO] [stdout]    --> src/Culqi.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn createEncrypt(
[INFO] [stdout]     |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_encrypt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2
[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" "1d834caf3c668f7f9d87408debe21c49d51f91e9e20abb48e6f69044696d34bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d834caf3c668f7f9d87408debe21c49d51f91e9e20abb48e6f69044696d34bb", kill_on_drop: false }`
[INFO] [stdout] 1d834caf3c668f7f9d87408debe21c49d51f91e9e20abb48e6f69044696d34bb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 59f636fffd698469b6288f747b957f8230a0aaecc0579afeaf552c781d6f666c
[INFO] running `Command { std: "docker" "start" "-a" "59f636fffd698469b6288f747b957f8230a0aaecc0579afeaf552c781d6f666c", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Encrypt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Culqi.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Aead`
[INFO] [stdout]  --> src/Culqi.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use aes_gcm::aead::{Aead};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]  --> src/Culqi.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rsa::{PublicKey};
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::create`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Culqi::create;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::add`
[INFO] [stdout]  --> src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use Culqi::add;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::createEncrypt`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use Culqi::createEncrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::delete`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use Culqi::delete;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Culqi::get`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use Culqi::get;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encrypt::encrypt`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use Encrypt::encrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `isahc::prelude::*`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use isahc::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::TryInto;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs8::der::Decodable`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::pkcs8::der::Decodable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs1::FromRsaPublicKey`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rsa::pkcs1::FromRsaPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Aead`, `NewAead`
[INFO] [stdout]   --> src/lib.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | use aes_gcm::aead::{Aead, NewAead};
[INFO] [stdout]    |                     ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/Encrypt.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/Encrypt.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let mut plaintext = serde_json::to_string(&json_data)?.as_bytes().to_vec();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt` is never used
[INFO] [stdout]    --> src/Encrypt.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn encrypt(data: &str, publicKey: &str, is_json: bool) -> Result<HashMap<String, String>, MyError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `skey` is never used
[INFO] [stdout]   --> src/Culqi.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pkey` is never used
[INFO] [stdout]   --> src/Culqi.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `rsaid` is never used
[INFO] [stdout]   --> src/Culqi.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CULQI_RSA_KEY` is never used
[INFO] [stdout]   --> src/Culqi.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CULQI_RSA_KEY: &'static str = "-----BEGIN PUBLIC KEY-----
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SECUREURL` is never used
[INFO] [stdout]   --> src/Culqi.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const SECUREURL: &'static str = "https://qa-secure.culqi.xyz/v2/tokens";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BASEURL` is never used
[INFO] [stdout]   --> src/Culqi.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const BASEURL: &'static str = "https://qa-api.culqi.xyz/v2/";
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]    --> src/Culqi.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub fn add(left: usize, right: usize) -> usize {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ResponseData` is never constructed
[INFO] [stdout]    --> src/Culqi.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 | pub struct ResponseData {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createEncrypt` is never used
[INFO] [stdout]    --> src/Culqi.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn createEncrypt(
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create` is never used
[INFO] [stdout]    --> src/Culqi.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub fn create(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]    --> src/Culqi.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub fn get(
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete` is never used
[INFO] [stdout]    --> src/Culqi.rs:241:8
[INFO] [stdout]     |
[INFO] [stdout] 241 | pub fn delete(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Encrypt` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod Encrypt;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `encrypt`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Culqi` should have a snake case name
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod Culqi;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case (notice the capitalization): `culqi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `publicKey` should have a snake case name
[INFO] [stdout]    --> src/Encrypt.rs:110:28
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn encrypt(data: &str, publicKey: &str, is_json: bool) -> Result<HashMap<String, String>, MyError> {
[INFO] [stdout]     |                            ^^^^^^^^^ help: convert the identifier to snake case: `public_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling culqi_rust v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `skey` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |       ^^^^ help: convert the identifier to upper case: `SKEY`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `pkey` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |       ^^^^ help: convert the identifier to upper case: `PKEY`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `rsaid` should have an upper case name
[INFO] [stdout]   --> src/Culqi.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |       ^^^^^ help: convert the identifier to upper case: `RSAID`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createEncrypt` should have a snake case name
[INFO] [stdout]    --> src/Culqi.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn createEncrypt(
[INFO] [stdout]     |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_encrypt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Encrypt.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]  --> src/Culqi.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::TryInto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Aead`
[INFO] [stdout]  --> src/Culqi.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use aes_gcm::aead::{Aead};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]  --> src/Culqi.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rsa::{PublicKey};
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encrypt::encrypt`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use Encrypt::encrypt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `isahc::prelude::*`
[INFO] [stdout]   --> src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use isahc::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::TryInto`
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::convert::TryInto;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs8::der::Decodable`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::pkcs8::der::Decodable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rsa::pkcs1::FromRsaPublicKey`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rsa::pkcs1::FromRsaPublicKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Aead`, `NewAead`
[INFO] [stdout]   --> src/lib.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 | use aes_gcm::aead::{Aead, NewAead};
[INFO] [stdout]    |                     ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `update` in this scope
[INFO] [stdout]    --> src/lib.rs:126:19
[INFO] [stdout]     |
[INFO] [stdout] 126 |             match update("tokens", "tkn_test_20HjpSkdDlSdoHEC" ,body) {
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/Encrypt.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rsa::{PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `culqi_rust` (lib test) due to 2 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "59f636fffd698469b6288f747b957f8230a0aaecc0579afeaf552c781d6f666c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59f636fffd698469b6288f747b957f8230a0aaecc0579afeaf552c781d6f666c", kill_on_drop: false }`
[INFO] [stdout] 59f636fffd698469b6288f747b957f8230a0aaecc0579afeaf552c781d6f666c
