[INFO] cloning repository https://github.com/janisbent/TorCrypto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/janisbent/TorCrypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanisbent%2FTorCrypto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanisbent%2FTorCrypto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bcbe48eb13159b4bd505443b22f1e456fdaa3ab0 [INFO] testing janisbent/TorCrypto against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanisbent%2FTorCrypto" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janisbent/TorCrypto on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/janisbent/TorCrypto [INFO] finished tweaking git repo https://github.com/janisbent/TorCrypto [INFO] tweaked toml for git repo https://github.com/janisbent/TorCrypto written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/janisbent/TorCrypto already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38f4225e1d9564ae7b0098250331f9ee136a4998d993f1760ab638ddc9cc2ac0 [INFO] running `Command { std: "docker" "start" "-a" "38f4225e1d9564ae7b0098250331f9ee136a4998d993f1760ab638ddc9cc2ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38f4225e1d9564ae7b0098250331f9ee136a4998d993f1760ab638ddc9cc2ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f4225e1d9564ae7b0098250331f9ee136a4998d993f1760ab638ddc9cc2ac0", kill_on_drop: false }` [INFO] [stdout] 38f4225e1d9564ae7b0098250331f9ee136a4998d993f1760ab638ddc9cc2ac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 249b992d62adc79b4d5654d62d83e8c13377225a763bc16fd46a9f7e7add0e8c [INFO] running `Command { std: "docker" "start" "-a" "249b992d62adc79b4d5654d62d83e8c13377225a763bc16fd46a9f7e7add0e8c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling tor_crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.57s [INFO] running `Command { std: "docker" "inspect" "249b992d62adc79b4d5654d62d83e8c13377225a763bc16fd46a9f7e7add0e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249b992d62adc79b4d5654d62d83e8c13377225a763bc16fd46a9f7e7add0e8c", kill_on_drop: false }` [INFO] [stdout] 249b992d62adc79b4d5654d62d83e8c13377225a763bc16fd46a9f7e7add0e8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9627d079fdd46e7b32a20187d79000105231cffd4856ab12367b17c267beaa1 [INFO] running `Command { std: "docker" "start" "-a" "a9627d079fdd46e7b32a20187d79000105231cffd4856ab12367b17c267beaa1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tor_crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.99s [INFO] running `Command { std: "docker" "inspect" "a9627d079fdd46e7b32a20187d79000105231cffd4856ab12367b17c267beaa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9627d079fdd46e7b32a20187d79000105231cffd4856ab12367b17c267beaa1", kill_on_drop: false }` [INFO] [stdout] a9627d079fdd46e7b32a20187d79000105231cffd4856ab12367b17c267beaa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc6e217fe924472ddae93cc163d56334c3fba1c1f949f4184fd49ae5ecdf9b4e [INFO] running `Command { std: "docker" "start" "-a" "cc6e217fe924472ddae93cc163d56334c3fba1c1f949f4184fd49ae5ecdf9b4e", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:62:36 [INFO] [stderr] | [INFO] [stderr] 62 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:90:36 [INFO] [stderr] | [INFO] [stderr] 90 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:115:36 [INFO] [stderr] | [INFO] [stderr] 115 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tor_crypto` (lib) generated 6 warnings [INFO] [stderr] warning: `tor_crypto` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tor_crypto-98c776c3d669bf7c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tor_crypto [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - Crypt::new (line 28) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::export_pri (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::ecdh (line 128) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::from_file (line 45) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::export_pub (line 99) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::encrypt (line 145) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::decrypt (line 167) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Crypt::new (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Crypt` [INFO] [stdout] --> src/lib.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Crypt` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Crypt::export_pri (line 74) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Crypt` [INFO] [stdout] --> src/lib.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Crypt` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Crypt::ecdh (line 128) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Crypt` [INFO] [stdout] --> src/lib.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Crypt` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Crypt::from_file (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Crypt` [INFO] [stdout] --> src/lib.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::from_file("privkey"); [INFO] [stdout] | ^^^^^ use of undeclared type `Crypt` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Crypt::export_pub (line 99) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Crypt` [INFO] [stdout] --> src/lib.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Crypt` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Crypt::encrypt (line 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Crypt` [INFO] [stdout] --> src/lib.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Crypt` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pubkey` in this scope [INFO] [stdout] --> src/lib.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 5 | c.ecdh(&pubkey); [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `pubkeyb` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Crypt::decrypt (line 167) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Crypt` [INFO] [stdout] --> src/lib.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Crypt` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pubkey` in this scope [INFO] [stdout] --> src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 5 | c.ecdh(&pubkey); [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `pubkeyb` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(pt.to_vec() = pt2.to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to compare for equality [INFO] [stdout] | [INFO] [stdout] 13 | assert!(pt.to_vec() == pt2.to_vec()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Crypt::decrypt (line 167) [INFO] [stdout] src/lib.rs - Crypt::ecdh (line 128) [INFO] [stdout] src/lib.rs - Crypt::encrypt (line 145) [INFO] [stdout] src/lib.rs - Crypt::export_pri (line 74) [INFO] [stdout] src/lib.rs - Crypt::export_pub (line 99) [INFO] [stdout] src/lib.rs - Crypt::from_file (line 45) [INFO] [stdout] src/lib.rs - Crypt::new (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "cc6e217fe924472ddae93cc163d56334c3fba1c1f949f4184fd49ae5ecdf9b4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6e217fe924472ddae93cc163d56334c3fba1c1f949f4184fd49ae5ecdf9b4e", kill_on_drop: false }` [INFO] [stdout] cc6e217fe924472ddae93cc163d56334c3fba1c1f949f4184fd49ae5ecdf9b4e