[INFO] fetching crate culqi_rust 1.0.0...
[INFO] testing culqi_rust-1.0.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate culqi_rust 1.0.0 into /workspace/builds/worker-6-tc1/source
[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-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate culqi_rust 1.0.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 243 packages to highest compatible versions
[INFO] [stderr]       Adding aes v0.7.5 (available: v0.9.3)
[INFO] [stderr]       Adding aes-gcm v0.9.4 (available: v0.11.1)
[INFO] [stderr]       Adding base64 v0.13.1 (available: v0.23.1)
[INFO] [stderr]       Adding base64ct v1.1.1 (available: v1.8.3)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding isahc v1.8.3 (available: v2.0.1)
[INFO] [stderr]       Adding nom v6.1.2 (available: v6.2.2)
[INFO] [stderr]       Adding pem v1.1.1 (available: v4.0.0)
[INFO] [stderr]       Adding pkcs8 v0.7.6 (available: v0.11.0)
[INFO] [stderr]       Adding rand v0.8.8 (available: v0.10.3)
[INFO] [stderr]       Adding reqwest v0.10.10 (available: v0.13.5)
[INFO] [stderr]       Adding rsa v0.5.0 (available: v0.9.10)
[INFO] [stderr]       Adding sha2 v0.9.9 (available: v0.11.1)
[INFO] [stderr]       Adding subtle v2.4.1 (available: v2.6.1)
[INFO] [stderr]       Adding x509-parser v0.9.2 (available: v0.18.1)
[INFO] [stderr]       Adding zeroize v1.4.3 (available: v1.9.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rusticata-macros v3.2.0
[INFO] [stderr]   Downloaded der-oid-macro v0.4.0
[INFO] [stderr]   Downloaded x509-parser v0.9.2
[INFO] [stderr]   Downloaded oid-registry v0.1.5
[INFO] [stderr]   Downloaded const-oid v0.6.2
[INFO] [stderr]   Downloaded spki v0.4.1
[INFO] [stderr]   Downloaded base64ct v1.1.1
[INFO] [stderr]   Downloaded pem-rfc7468 v0.2.4
[INFO] [stderr]   Downloaded pkcs8 v0.7.6
[INFO] [stderr]   Downloaded pkcs1 v0.2.4
[INFO] [stderr]   Downloaded tokio-tls v0.3.1
[INFO] [stderr]   Downloaded der v0.4.5
[INFO] [stderr]   Downloaded crypto-bigint v0.2.11
[INFO] [stderr]   Downloaded hyper-tls v0.4.3
[INFO] [stderr]   Downloaded bitvec v0.19.6
[INFO] [stderr]   Downloaded der-parser v5.1.2
[INFO] [stderr]   Downloaded rsa v0.5.0
[INFO] [stderr]   Downloaded sluice v0.6.0
[INFO] [stderr]   Downloaded num-bigint-dig v0.7.1
[INFO] [stderr]   Downloaded reqwest v0.10.10
[INFO] [stderr]   Downloaded crypto v0.5.1
[INFO] [stderr]   Downloaded ghash v0.4.4
[INFO] [stderr]   Downloaded hyper v0.13.10
[INFO] [stderr]   Downloaded curl v0.4.51
[INFO] [stderr]   Downloaded isahc v1.8.3
[INFO] [stderr]   Downloaded aes-gcm v0.9.4
[INFO] [stderr]   Downloaded libz-sys v1.1.30
[INFO] [stderr]   Downloaded curl-sys v0.4.91+curl-8.22.0
[INFO] [stderr]   Downloaded libnghttp2-sys v0.1.13+1.68.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8
[INFO] running `Command { std: "docker" "start" "f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling find-msvc-tools v0.1.14
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling pkg-config v0.3.34
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling radium v0.5.3
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]    Compiling log v0.4.34
[INFO] [stderr]    Compiling cc v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling spin v0.9.9
[INFO] [stderr]    Compiling lazy_static v1.5.1
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]    Compiling bitflags v2.13.2
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling zerocopy v0.8.63
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling net2 v0.2.39
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.13+1.68.1
[INFO] [stderr]    Compiling libz-sys v1.1.30
[INFO] [stderr]    Compiling num-integer v0.1.47
[INFO] [stderr]    Compiling curl-sys v0.4.91+curl-8.22.0
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.5
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling bitvec v0.19.6
[INFO] [stderr]    Compiling synstructure v0.14.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.8
[INFO] [stderr]    Compiling yoke-derive v0.8.4
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling pin-project v1.1.13
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zeroize_derive v1.5.0
[INFO] [stderr]    Compiling crypto-bigint v0.2.11
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling const-oid v0.6.2
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling icu_normalizer v2.3.0
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling der v0.4.5
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling zeroize v1.4.3
[INFO] [stderr]    Compiling num-bigint v0.4.8
[INFO] [stderr]    Compiling encoding_rs v0.8.42
[INFO] [stderr]    Compiling unicase v2.10.0
[INFO] [stderr]    Compiling base64ct v1.1.1
[INFO] [stderr]    Compiling rustix v1.1.5
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling pem-rfc7468 v0.2.4
[INFO] [stderr]    Compiling want v0.3.2
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rusticata-macros v3.2.0
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling der-oid-macro v0.4.0
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling curl v0.4.51
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling num-bigint-dig v0.7.1
[INFO] [stderr]    Compiling multiversion_no_op v1.0.0
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling futures-io v0.3.34
[INFO] [stderr]    Compiling oid-registry v0.1.5
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling rand v0.8.8
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling der-parser v5.1.2
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling async-channel v2.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling pkcs1 v0.2.4
[INFO] [stderr]    Compiling spki v0.4.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling num-iter v0.1.46
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling aho-corasick v1.1.5
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling fastrand v2.5.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling isahc v1.8.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling regex-automata v0.4.18
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling pkcs8 v0.7.6
[INFO] [stderr]    Compiling polling v3.11.0
[INFO] [stderr]    Compiling sluice v0.6.0
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling mio v1.2.4
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling ipnet v2.12.2
[INFO] [stderr]    Compiling data-encoding v2.11.1
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling x509-parser v0.9.2
[INFO] [stderr]    Compiling reqwest v0.10.10
[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 tokio v1.53.3
[INFO] [stderr]    Compiling serde_json v1.0.154
[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)]` (part of `#[warn(unused)]`) 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` and `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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MyError` is never used
[INFO] [stdout]   --> src/Encrypt.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum MyError {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 
[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: enum `MyError` is never used
[INFO] [stdout]   --> src/Culqi.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum MyError {
[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)]` (part of `#[warn(nonstandard_style)]`) 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]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout] 14 + const SKEY : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |
[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]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 15 - const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout] 15 + const PKEY : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |
[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]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 16 - const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout] 16 + const RSAID : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |
[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] [stderr]     Finished `release` profile [optimized] target(s) in 4m 46s
[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 4`
[INFO] running `Command { std: "docker" "inspect" "f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", 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)]` (part of `#[warn(unused)]`) 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` and `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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MyError` is never used
[INFO] [stdout]   --> src/Encrypt.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum MyError {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 
[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: enum `MyError` is never used
[INFO] [stdout]   --> src/Culqi.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum MyError {
[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)]` (part of `#[warn(nonstandard_style)]`) 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]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 14 - const skey : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout] 14 + const SKEY : &'static str = "sk_live_34a07dcb6d4c7e39";
[INFO] [stdout]    |
[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]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 15 - const pkey : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout] 15 + const PKEY : &'static str = "pk_live_889113cd74ecfc55";
[INFO] [stdout]    |
[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]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 16 - const rsaid : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout] 16 + const RSAID : &'static str = "508fc232-0a9d-4fc0-a192-364a0b782b89";
[INFO] [stdout]    |
[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] [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)]` (part of `#[warn(unused)]`) 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` and `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] 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)]` (part of `#[warn(unused)]`) on by default
[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 1 previous error; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8", kill_on_drop: false }`
[INFO] [stdout] f1fda2b4f5e14de5fb3008a2a5982423de9f470b52184f51bcddfd2e4b86d3a8
