[INFO] updating cached repository janisbent/TorCrypto [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/janisbent/TorCrypto [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/janisbent/TorCrypto" "work/ex/beta-1.37-6/sources/1.36.0/gh/janisbent/TorCrypto"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/janisbent/TorCrypto'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/janisbent/TorCrypto" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/janisbent/TorCrypto"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of janisbent/TorCrypto on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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/beta-1.37-6/sources/1.36.0/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/beta-1.37-6/sources/beta-2019-07-23/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" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing janisbent/TorCrypto against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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=warn" "-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" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 85e23e5431e0b0bd9d89e3dad60133a4eb5b17f5568734410fb90759ae008c65 [INFO] running `"docker" "start" "-a" "85e23e5431e0b0bd9d89e3dad60133a4eb5b17f5568734410fb90759ae008c65"` [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling tor_crypto v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.96s [INFO] running `"docker" "inspect" "85e23e5431e0b0bd9d89e3dad60133a4eb5b17f5568734410fb90759ae008c65"` [INFO] running `"docker" "rm" "-f" "85e23e5431e0b0bd9d89e3dad60133a4eb5b17f5568734410fb90759ae008c65"` [INFO] [stdout] 85e23e5431e0b0bd9d89e3dad60133a4eb5b17f5568734410fb90759ae008c65 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen" "--no-run"` [INFO] [stdout] ca6678e5a21469181d65f171672f22fed4c6299bb4c7c4d87c4eb412fc0e99f3 [INFO] running `"docker" "start" "-a" "ca6678e5a21469181d65f171672f22fed4c6299bb4c7c4d87c4eb412fc0e99f3"` [INFO] [stderr] Compiling tor_crypto v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `"docker" "inspect" "ca6678e5a21469181d65f171672f22fed4c6299bb4c7c4d87c4eb412fc0e99f3"` [INFO] running `"docker" "rm" "-f" "ca6678e5a21469181d65f171672f22fed4c6299bb4c7c4d87c4eb412fc0e99f3"` [INFO] [stdout] ca6678e5a21469181d65f171672f22fed4c6299bb4c7c4d87c4eb412fc0e99f3 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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=warn" "-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" "+beta-2019-07-23" "test" "--frozen"` [INFO] [stdout] 96f7789fb29f699159e28de6fa9947ac1dfd8ba59f06b4c922b78379a431ea3f [INFO] running `"docker" "start" "-a" "96f7789fb29f699159e28de6fa9947ac1dfd8ba59f06b4c922b78379a431ea3f"` [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/crater/target/debug/deps/tor_crypto-255d4d7cd9658eb7 [INFO] [stdout] [INFO] [stderr] Doc-tests tor_crypto [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::export_pub (line 99) ... 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::from_file (line 45) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::ecdh (line 128) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::decrypt (line 167) ... FAILED [INFO] [stdout] test src/lib.rs - Crypt::encrypt (line 145) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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::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::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::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] ---- 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] [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" "96f7789fb29f699159e28de6fa9947ac1dfd8ba59f06b4c922b78379a431ea3f"` [INFO] running `"docker" "rm" "-f" "96f7789fb29f699159e28de6fa9947ac1dfd8ba59f06b4c922b78379a431ea3f"` [INFO] [stdout] 96f7789fb29f699159e28de6fa9947ac1dfd8ba59f06b4c922b78379a431ea3f