[INFO] cloning repository janisbent/TorCrypto [INFO] running `"git" "clone" "--bare" "git://github.com/janisbent/TorCrypto.git" "work/cache/sources/gh/janisbent/TorCrypto"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/janisbent/TorCrypto'... [INFO] running `"git" "clone" "work/cache/sources/gh/janisbent/TorCrypto" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/janisbent/TorCrypto"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/janisbent/TorCrypto'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/janisbent/TorCrypto" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/janisbent/TorCrypto"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/janisbent/TorCrypto'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] bcbe48eb13159b4bd505443b22f1e456fdaa3ab0 [INFO] sha for GitHub repo janisbent/TorCrypto: bcbe48eb13159b4bd505443b22f1e456fdaa3ab0 [INFO] validating manifest of janisbent/TorCrypto on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of janisbent/TorCrypto on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing janisbent/TorCrypto [INFO] finished frobbing janisbent/TorCrypto [INFO] frobbed toml for janisbent/TorCrypto written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/janisbent/TorCrypto/Cargo.toml [INFO] started frobbing janisbent/TorCrypto [INFO] finished frobbing janisbent/TorCrypto [INFO] frobbed toml for janisbent/TorCrypto written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/janisbent/TorCrypto/Cargo.toml [INFO] crate janisbent/TorCrypto already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing janisbent/TorCrypto against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/janisbent/TorCrypto:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] d5ae38afe2f3a3e878ec89b91c5c77fe07ebeb0b5ca863c33ae0df70df206ebc [INFO] running `"docker" "start" "-a" "d5ae38afe2f3a3e878ec89b91c5c77fe07ebeb0b5ca863c33ae0df70df206ebc"` [INFO] [stderr] Compiling tor_crypto v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `"docker" "inspect" "d5ae38afe2f3a3e878ec89b91c5c77fe07ebeb0b5ca863c33ae0df70df206ebc"` [INFO] running `"docker" "rm" "-f" "d5ae38afe2f3a3e878ec89b91c5c77fe07ebeb0b5ca863c33ae0df70df206ebc"` [INFO] [stdout] d5ae38afe2f3a3e878ec89b91c5c77fe07ebeb0b5ca863c33ae0df70df206ebc [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/janisbent/TorCrypto:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] fec96a543f8fdf848ccc0b425a92d726a7fddd7eef10c2cd92a99c647d69c9cf [INFO] running `"docker" "start" "-a" "fec96a543f8fdf848ccc0b425a92d726a7fddd7eef10c2cd92a99c647d69c9cf"` [INFO] [stderr] Compiling tor_crypto v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `"docker" "inspect" "fec96a543f8fdf848ccc0b425a92d726a7fddd7eef10c2cd92a99c647d69c9cf"` [INFO] running `"docker" "rm" "-f" "fec96a543f8fdf848ccc0b425a92d726a7fddd7eef10c2cd92a99c647d69c9cf"` [INFO] [stdout] fec96a543f8fdf848ccc0b425a92d726a7fddd7eef10c2cd92a99c647d69c9cf [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-1/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/janisbent/TorCrypto:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] 6dd8563fdcbd6f19a8cc992b3a1e66bddfb8c9a4c37a5484fd75a4dae74844bc [INFO] running `"docker" "start" "-a" "6dd8563fdcbd6f19a8cc992b3a1e66bddfb8c9a4c37a5484fd75a4dae74844bc"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/tor_crypto-e789b623ad2939af [INFO] [stderr] Doc-tests tor_crypto [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [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_pri (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::new (line 28) ... 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::ecdh (line 128) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Crypt` [INFO] [stdout] --> src/lib.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `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 or module `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 or module `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 or module `Crypt` [INFO] [stdout] --> src/lib.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `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::new (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Crypt` [INFO] [stdout] --> src/lib.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `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 or module `Crypt` [INFO] [stdout] --> src/lib.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `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 or module `Crypt` [INFO] [stdout] --> src/lib.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `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 or module `Crypt` [INFO] [stdout] --> src/lib.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut c = Crypt::new(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected bool, found () [INFO] [stdout] | help: try comparing for equality: `pt.to_vec() == pt2.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found type `()` [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `()` [INFO] [stdout] --> src/lib.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(pt.to_vec() = pt2.to_vec()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433, E0600. [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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "6dd8563fdcbd6f19a8cc992b3a1e66bddfb8c9a4c37a5484fd75a4dae74844bc"` [INFO] running `"docker" "rm" "-f" "6dd8563fdcbd6f19a8cc992b3a1e66bddfb8c9a4c37a5484fd75a4dae74844bc"` [INFO] [stdout] 6dd8563fdcbd6f19a8cc992b3a1e66bddfb8c9a4c37a5484fd75a4dae74844bc