[INFO] fetching crate smcrypto 0.2.1...
[INFO] testing smcrypto-0.2.1 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate smcrypto 0.2.1 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate smcrypto 0.2.1 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate smcrypto 0.2.1
[INFO] finished tweaking crates.io crate smcrypto 0.2.1
[INFO] tweaked toml for crates.io crate smcrypto 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded yasna v0.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 269e48a0f4bd4e5be87fd31c1effe3b500a5e707c1878e0c7846a7f966e6caa8
[INFO] running `Command { std: "docker" "start" "-a" "269e48a0f4bd4e5be87fd31c1effe3b500a5e707c1878e0c7846a7f966e6caa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "269e48a0f4bd4e5be87fd31c1effe3b500a5e707c1878e0c7846a7f966e6caa8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "269e48a0f4bd4e5be87fd31c1effe3b500a5e707c1878e0c7846a7f966e6caa8", kill_on_drop: false }`
[INFO] [stdout] 269e48a0f4bd4e5be87fd31c1effe3b500a5e707c1878e0c7846a7f966e6caa8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 776b8c58b68232ab6e22f0be4e4e7acf35a898a3c31e17e05c6bae82d0c9714a
[INFO] running `Command { std: "docker" "start" "-a" "776b8c58b68232ab6e22f0be4e4e7acf35a898a3c31e17e05c6bae82d0c9714a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling pem v1.1.1
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling smcrypto v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.64s
[INFO] running `Command { std: "docker" "inspect" "776b8c58b68232ab6e22f0be4e4e7acf35a898a3c31e17e05c6bae82d0c9714a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "776b8c58b68232ab6e22f0be4e4e7acf35a898a3c31e17e05c6bae82d0c9714a", kill_on_drop: false }`
[INFO] [stdout] 776b8c58b68232ab6e22f0be4e4e7acf35a898a3c31e17e05c6bae82d0c9714a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d673271844d7dc1881076095da8839ac53f025d249dfe60aa01f36d6a0b1a06
[INFO] running `Command { std: "docker" "start" "-a" "5d673271844d7dc1881076095da8839ac53f025d249dfe60aa01f36d6a0b1a06", kill_on_drop: false }`
[INFO] [stderr]    Compiling smcrypto v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.72s
[INFO] running `Command { std: "docker" "inspect" "5d673271844d7dc1881076095da8839ac53f025d249dfe60aa01f36d6a0b1a06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d673271844d7dc1881076095da8839ac53f025d249dfe60aa01f36d6a0b1a06", kill_on_drop: false }`
[INFO] [stdout] 5d673271844d7dc1881076095da8839ac53f025d249dfe60aa01f36d6a0b1a06
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c5bcf8f06e9848f1ec2a6872001d9406d1a3f12f556731a56bac355f6722106d
[INFO] running `Command { std: "docker" "start" "-a" "c5bcf8f06e9848f1ec2a6872001d9406d1a3f12f556731a56bac355f6722106d", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/smcrypto-52fdc50ff34164a4)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests smcrypto
[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] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/lib.rs - (line 42) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 16) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 76) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 66) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 32) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 7) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 42) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm2`
[INFO] [stdout]  --> src/lib.rs:47:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | let keyexchange_a = sm2::KeyExchange::new(ida, &ska);
[INFO] [stdout]   |                     ^^^ use of undeclared crate or module `sm2`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use smcrypto::sm2::KeyExchange;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `KeyExchange`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 7 - let keyexchange_a = sm2::KeyExchange::new(ida, &ska);
[INFO] [stdout] 7 + let keyexchange_a = KeyExchange::new(ida, &ska);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm2`
[INFO] [stdout]   --> src/lib.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | let keyexchange_b = sm2::KeyExchange::new(idb, &skb);
[INFO] [stdout]    |                     ^^^ use of undeclared crate or module `sm2`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use smcrypto::sm2::KeyExchange;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `KeyExchange`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 - let keyexchange_b = sm2::KeyExchange::new(idb, &skb);
[INFO] [stdout] 12 + let keyexchange_b = KeyExchange::new(idb, &skb);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm2`
[INFO] [stdout]  --> src/lib.rs:46:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | let (ska, _) = sm2::gen_keypair();
[INFO] [stdout]   |                ^^^ use of undeclared crate or module `sm2`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm2`
[INFO] [stdout]   --> src/lib.rs:51:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | let (skb, _) = sm2::gen_keypair();
[INFO] [stdout]    |                ^^^ use of undeclared crate or module `sm2`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[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 - (line 22) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm2`
[INFO] [stdout]  --> src/lib.rs:23:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let sign_ctx = sm2::Sign::new(&sk);
[INFO] [stdout]   |                ^^^ use of undeclared crate or module `sm2`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::num::flt2dec::Sign;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use num_bigint::Sign;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use smcrypto::sm2::Sign;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Sign`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let sign_ctx = sm2::Sign::new(&sk);
[INFO] [stdout] 3 + let sign_ctx = Sign::new(&sk);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sk` in this scope
[INFO] [stdout]  --> src/lib.rs:23:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | let sign_ctx = sm2::Sign::new(&sk);
[INFO] [stdout]   |                                ^^ help: a tuple variant with a similar name exists: `Ok`
[INFO] [stdout]  --> /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/result.rs:507:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named tuple variant `Ok` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm2`
[INFO] [stdout]  --> src/lib.rs:25:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let verify_ctx = sm2::Verify::new(&pk);
[INFO] [stdout]   |                  ^^^ use of undeclared crate or module `sm2`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use smcrypto::sm2::Verify;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Verify`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let verify_ctx = sm2::Verify::new(&pk);
[INFO] [stdout] 5 + let verify_ctx = Verify::new(&pk);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pk` in this scope
[INFO] [stdout]  --> src/lib.rs:25:36
[INFO] [stdout]   |
[INFO] [stdout] 5 | let verify_ctx = sm2::Verify::new(&pk);
[INFO] [stdout]   |                                    ^^ help: a tuple variant with a similar name exists: `Ok`
[INFO] [stdout]  --> /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/result.rs:507:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named tuple variant `Ok` defined here
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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 - (line 16) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm2`
[INFO] [stdout]  --> src/lib.rs:17:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let (sk, pk) = sm2::gen_keypair();
[INFO] [stdout]   |                ^^^ use of undeclared crate or module `sm2`
[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 - (line 76) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm4`
[INFO] [stdout]  --> src/lib.rs:79:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | let sm4_cbc = sm4::CryptSM4CBC::new(key, iv);
[INFO] [stdout]   |               ^^^ use of undeclared crate or module `sm4`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use smcrypto::sm4::CryptSM4CBC;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `CryptSM4CBC`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let sm4_cbc = sm4::CryptSM4CBC::new(key, iv);
[INFO] [stdout] 5 + let sm4_cbc = CryptSM4CBC::new(key, iv);
[INFO] [stdout]   |
[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 - (line 66) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm4`
[INFO] [stdout]  --> src/lib.rs:68:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let sm4_ecb = sm4::CryptSM4ECB::new(key);
[INFO] [stdout]   |               ^^^ use of undeclared crate or module `sm4`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use smcrypto::sm4::CryptSM4ECB;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `CryptSM4ECB`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let sm4_ecb = sm4::CryptSM4ECB::new(key);
[INFO] [stdout] 4 + let sm4_ecb = CryptSM4ECB::new(key);
[INFO] [stdout]   |
[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 - (line 32) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm2`
[INFO] [stdout]  --> src/lib.rs:33:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let enc_ctx = sm2::Encrypt::new(&pk);
[INFO] [stdout]   |               ^^^ use of undeclared crate or module `sm2`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use smcrypto::sm2::Encrypt;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Encrypt`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let enc_ctx = sm2::Encrypt::new(&pk);
[INFO] [stdout] 3 + let enc_ctx = Encrypt::new(&pk);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pk` in this scope
[INFO] [stdout]  --> src/lib.rs:33:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | let enc_ctx = sm2::Encrypt::new(&pk);
[INFO] [stdout]   |                                  ^^ help: a tuple variant with a similar name exists: `Ok`
[INFO] [stdout]  --> /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/result.rs:507:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named tuple variant `Ok` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm2`
[INFO] [stdout]  --> src/lib.rs:35:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | let dec_ctx = sm2::Decrypt::new(&sk);
[INFO] [stdout]   |               ^^^ use of undeclared crate or module `sm2`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use smcrypto::sm2::Decrypt;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `Decrypt`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 5 - let dec_ctx = sm2::Decrypt::new(&sk);
[INFO] [stdout] 5 + let dec_ctx = Decrypt::new(&sk);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `sk` in this scope
[INFO] [stdout]  --> src/lib.rs:35:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | let dec_ctx = sm2::Decrypt::new(&sk);
[INFO] [stdout]   |                                  ^^ help: a tuple variant with a similar name exists: `Ok`
[INFO] [stdout]  --> /rustc/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/result.rs:507:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named tuple variant `Ok` defined here
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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 - (line 7) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sm3`
[INFO] [stdout]  --> src/lib.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let hash = sm3::sm3_hash(b"abc");
[INFO] [stdout]   |            ^^^ use of undeclared crate or module `sm3`
[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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 16)
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/lib.rs - (line 32)
[INFO] [stdout]     src/lib.rs - (line 42)
[INFO] [stdout]     src/lib.rs - (line 66)
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout]     src/lib.rs - (line 76)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c5bcf8f06e9848f1ec2a6872001d9406d1a3f12f556731a56bac355f6722106d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5bcf8f06e9848f1ec2a6872001d9406d1a3f12f556731a56bac355f6722106d", kill_on_drop: false }`
[INFO] [stdout] c5bcf8f06e9848f1ec2a6872001d9406d1a3f12f556731a56bac355f6722106d
