[INFO] fetching crate scram-rs 0.4.2... [INFO] testing scram-rs-0.4.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate scram-rs 0.4.2 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate scram-rs 0.4.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scram-rs 0.4.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate scram-rs 0.4.2 [INFO] tweaked toml for crates.io crate scram-rs 0.4.2 written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate crates.io crate scram-rs 0.4.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3be22870745e4beb8460ccad0bef90a1745dfc566591de4fe324b3c10f7b7a6 [INFO] running `Command { std: "docker" "start" "-a" "e3be22870745e4beb8460ccad0bef90a1745dfc566591de4fe324b3c10f7b7a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3be22870745e4beb8460ccad0bef90a1745dfc566591de4fe324b3c10f7b7a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3be22870745e4beb8460ccad0bef90a1745dfc566591de4fe324b3c10f7b7a6", kill_on_drop: false }` [INFO] [stdout] e3be22870745e4beb8460ccad0bef90a1745dfc566591de4fe324b3c10f7b7a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27d473cf3e12da45ab5636f3a78e13cfdbd7e66e6552bcc044b7fe7f5b80e6f0 [INFO] running `Command { std: "docker" "start" "-a" "27d473cf3e12da45ab5636f3a78e13cfdbd7e66e6552bcc044b7fe7f5b80e6f0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling pbkdf2 v0.10.0 [INFO] [stderr] Compiling scram-rs v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.80s [INFO] running `Command { std: "docker" "inspect" "27d473cf3e12da45ab5636f3a78e13cfdbd7e66e6552bcc044b7fe7f5b80e6f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d473cf3e12da45ab5636f3a78e13cfdbd7e66e6552bcc044b7fe7f5b80e6f0", kill_on_drop: false }` [INFO] [stdout] 27d473cf3e12da45ab5636f3a78e13cfdbd7e66e6552bcc044b7fe7f5b80e6f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c1bf08d45b284d4598b09f7ea7b95108d6b785310da0da9ba92f50f373bdd4d [INFO] running `Command { std: "docker" "start" "-a" "8c1bf08d45b284d4598b09f7ea7b95108d6b785310da0da9ba92f50f373bdd4d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling scram-rs v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 29.49s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/scram_rs-f63fa68ec61b6b15) [INFO] running `Command { std: "docker" "inspect" "8c1bf08d45b284d4598b09f7ea7b95108d6b785310da0da9ba92f50f373bdd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1bf08d45b284d4598b09f7ea7b95108d6b785310da0da9ba92f50f373bdd4d", kill_on_drop: false }` [INFO] [stdout] 8c1bf08d45b284d4598b09f7ea7b95108d6b785310da0da9ba92f50f373bdd4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] afe058cd8f514de1077684346d62f28eaf7aa9b7afc949c903923bca38e18663 [INFO] running `Command { std: "docker" "start" "-a" "afe058cd8f514de1077684346d62f28eaf7aa9b7afc949c903923bca38e18663", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scram_rs-f63fa68ec61b6b15) [INFO] [stdout] running 9 tests [INFO] [stdout] test scram_async::scram_incorrect_test ... ok [INFO] [stdout] test scram_auth::test_if ... ok [INFO] [stdout] test scram_sync::scram_incorrect_test ... ok [INFO] [stdout] test scram_async::scram_sha256_server ... ok [INFO] [stdout] test scram_sync::scram_sha256_server ... ok [INFO] [stdout] test scram_sync::scram_sha256_works ... ok [INFO] [stdout] test scram_auth::test_password_gen ... ok [INFO] [stdout] test scram_async::scram_sha256_works ... ok [INFO] [stdout] test scram_auth::test_speed ... ok [INFO] [stderr] Doc-tests scram-rs [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/scram_auth.rs - scram_auth::ScramAuthClient (line 390) ... FAILED [INFO] [stdout] test src/scram_auth.rs - scram_auth::AsyncScramAuthClient (line 419) ... FAILED [INFO] [stdout] test src/scram_sync.rs - scram_sync::SyncScramClient::new (line 354) ... FAILED [INFO] [stdout] test src/scram_sync.rs - scram_sync::SyncScramServer::new (line 83) ... FAILED [INFO] [stdout] test src/scram_async.rs - scram_async::AsyncScramServer::new (line 82) ... FAILED [INFO] [stdout] test src/scram_async.rs - scram_async::AsyncScramClient::new (line 362) ... FAILED [INFO] [stdout] test src/scram_auth.rs - scram_auth::ScramAuthServer (line 306) ... ok [INFO] [stdout] test src/scram_auth.rs - scram_auth::AsyncScramAuthServer (line 347) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/scram_auth.rs - scram_auth::ScramAuthClient (line 390) stdout ---- [INFO] [stdout] error: expected `::`, found `{` [INFO] [stdout] --> src/scram_auth.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 3 | impl ScramAuthClient for [INFO] [stdout] | - expected `::` [INFO] [stdout] 4 | { [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scram_auth.rs - scram_auth::AsyncScramAuthClient (line 419) stdout ---- [INFO] [stdout] error: expected `::`, found `{` [INFO] [stdout] --> src/scram_auth.rs:423:1 [INFO] [stdout] | [INFO] [stdout] 5 | impl AsyncScramAuthClient for [INFO] [stdout] | - expected `::` [INFO] [stdout] 6 | { [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scram_sync.rs - scram_sync::SyncScramClient::new (line 354) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthClient` [INFO] [stdout] --> src/scram_sync.rs:357:10 [INFO] [stdout] | [INFO] [stdout] 5 | let ac = AuthClient::new(username, password); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthClient` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientChannelBindingType` [INFO] [stdout] --> src/scram_sync.rs:355:11 [INFO] [stdout] | [INFO] [stdout] 3 | let cbt = ClientChannelBindingType::without_chan_binding(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ClientChannelBindingType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/scram_sync.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 5 | let ac = AuthClient::new(username, password); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/scram_sync.rs:357:36 [INFO] [stdout] | [INFO] [stdout] 5 | let ac = AuthClient::new(username, password); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScramNonce` [INFO] [stdout] --> src/scram_sync.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 6 | let nonce = ScramNonce::Plain(&client_nonce_dec); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramNonce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_nonce_dec` in this scope [INFO] [stdout] --> src/scram_sync.rs:358:32 [INFO] [stdout] | [INFO] [stdout] 6 | let nonce = ScramNonce::Plain(&client_nonce_dec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyncScramClient` [INFO] [stdout] --> src/scram_sync.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 8 | let scram_res = SyncScramClient::::new(&ac, nonce, cbt); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::scram_sync::SyncScramClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScramSha256` in this scope [INFO] [stdout] --> src/scram_sync.rs:360:35 [INFO] [stdout] | [INFO] [stdout] 8 | let scram_res = SyncScramClient::::new(&ac, nonce, cbt); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramSha256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthClient` in this scope [INFO] [stdout] --> src/scram_sync.rs:360:48 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_scram_sync_rs_354_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 8 | let scram_res = SyncScramClient::::new(&ac, nonce, cbt); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scram_sync.rs - scram_sync::SyncScramServer::new (line 83) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthServer` [INFO] [stdout] --> src/scram_sync.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 3 | let serv = AuthServer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthServer` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScramServer` [INFO] [stdout] --> src/scram_sync.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 7 | let scram_res = ScramServer::::new(&serv, None, nonce, scramtype); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ScramServer` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScramNonce` [INFO] [stdout] --> src/scram_sync.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 4 | let nonce = ScramNonce::Base64(server_nonce); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramNonce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `server_nonce` in this scope [INFO] [stdout] --> src/scram_sync.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 4 | let nonce = ScramNonce::Base64(server_nonce); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScramCommon` [INFO] [stdout] --> src/scram_sync.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 6 | let scramtype = ScramCommon::get_scramtype("SCRAM-SHA-256").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramCommon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScramSha256` in this scope [INFO] [stdout] --> src/scram_sync.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 7 | let scram_res = ScramServer::::new(&serv, None, nonce, scramtype); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramSha256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthServer` in this scope [INFO] [stdout] --> src/scram_sync.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_scram_sync_rs_83_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 7 | let scram_res = ScramServer::::new(&serv, None, nonce, scramtype); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scram_async.rs - scram_async::AsyncScramServer::new (line 82) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthServer` [INFO] [stdout] --> src/scram_async.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 3 | let serv = AuthServer::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthServer` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScramNonce` [INFO] [stdout] --> src/scram_async.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 4 | let nonce = ScramNonce::Base64(server_nonce); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramNonce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `server_nonce` in this scope [INFO] [stdout] --> src/scram_async.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 4 | let nonce = ScramNonce::Base64(server_nonce); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScramCommon` [INFO] [stdout] --> src/scram_async.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 6 | let scramtype = ScramCommon::get_scramtype("SCRAM-SHA-256").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramCommon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AsyncScramServer` [INFO] [stdout] --> src/scram_async.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 7 | let scram_res = AsyncScramServer::::new(&serv, None, nonce, scramtype); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::scram_async::AsyncScramServer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScramSha256` in this scope [INFO] [stdout] --> src/scram_async.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 7 | let scram_res = AsyncScramServer::::new(&serv, None, nonce, scramtype); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramSha256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthServer` in this scope [INFO] [stdout] --> src/scram_async.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_scram_async_rs_82_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 7 | let scram_res = AsyncScramServer::::new(&serv, None, nonce, scramtype); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scram_async.rs - scram_async::AsyncScramClient::new (line 362) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthClient` [INFO] [stdout] --> src/scram_async.rs:365:10 [INFO] [stdout] | [INFO] [stdout] 5 | let ac = AuthClient::new(username, password); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthClient` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientChannelBindingType` [INFO] [stdout] --> src/scram_async.rs:363:11 [INFO] [stdout] | [INFO] [stdout] 3 | let cbt = ClientChannelBindingType::without_chan_binding(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ClientChannelBindingType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `username` in this scope [INFO] [stdout] --> src/scram_async.rs:365:26 [INFO] [stdout] | [INFO] [stdout] 5 | let ac = AuthClient::new(username, password); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/scram_async.rs:365:36 [INFO] [stdout] | [INFO] [stdout] 5 | let ac = AuthClient::new(username, password); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScramNonce` [INFO] [stdout] --> src/scram_async.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 6 | let nonce = ScramNonce::Plain(&client_nonce_dec); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramNonce; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_nonce_dec` in this scope [INFO] [stdout] --> src/scram_async.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 6 | let nonce = ScramNonce::Plain(&client_nonce_dec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AsyncScramClient` [INFO] [stdout] --> src/scram_async.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 8 | let scram_res = AsyncScramClient::::new(&ac, nonce, cbt); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::scram_async::AsyncScramClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScramSha256` in this scope [INFO] [stdout] --> src/scram_async.rs:368:36 [INFO] [stdout] | [INFO] [stdout] 8 | let scram_res = AsyncScramClient::::new(&ac, nonce, cbt); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use scram_rs::ScramSha256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthClient` in this scope [INFO] [stdout] --> src/scram_async.rs:368:49 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_scram_async_rs_362_0() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 8 | let scram_res = AsyncScramClient::::new(&ac, nonce, cbt); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/scram_async.rs - scram_async::AsyncScramClient::new (line 362) [INFO] [stdout] src/scram_async.rs - scram_async::AsyncScramServer::new (line 82) [INFO] [stdout] src/scram_auth.rs - scram_auth::AsyncScramAuthClient (line 419) [INFO] [stdout] src/scram_auth.rs - scram_auth::ScramAuthClient (line 390) [INFO] [stdout] src/scram_sync.rs - scram_sync::SyncScramClient::new (line 354) [INFO] [stdout] src/scram_sync.rs - scram_sync::SyncScramServer::new (line 83) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.74s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "afe058cd8f514de1077684346d62f28eaf7aa9b7afc949c903923bca38e18663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe058cd8f514de1077684346d62f28eaf7aa9b7afc949c903923bca38e18663", kill_on_drop: false }` [INFO] [stdout] afe058cd8f514de1077684346d62f28eaf7aa9b7afc949c903923bca38e18663