[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.38-1/sources/1.37.0/gh/janisbent/TorCrypto"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/janisbent/TorCrypto'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/janisbent/TorCrypto" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/janisbent/TorCrypto"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of janisbent/TorCrypto on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing janisbent/TorCrypto against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "build" "--frozen"` [INFO] [stdout] 9176dddc23bdc0f138ff836e852ccac51db0efa97fbef5e47d423946a3e0fd6f [INFO] running `"docker" "start" "-a" "9176dddc23bdc0f138ff836e852ccac51db0efa97fbef5e47d423946a3e0fd6f"` [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 4.92s [INFO] running `"docker" "inspect" "9176dddc23bdc0f138ff836e852ccac51db0efa97fbef5e47d423946a3e0fd6f"` [INFO] running `"docker" "rm" "-f" "9176dddc23bdc0f138ff836e852ccac51db0efa97fbef5e47d423946a3e0fd6f"` [INFO] [stdout] 9176dddc23bdc0f138ff836e852ccac51db0efa97fbef5e47d423946a3e0fd6f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] e40ab0392232e6f31671bb0e690903564c368926ad23f9a432f959a904e6b2f1 [INFO] running `"docker" "start" "-a" "e40ab0392232e6f31671bb0e690903564c368926ad23f9a432f959a904e6b2f1"` [INFO] [stderr] Compiling tor_crypto v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `"docker" "inspect" "e40ab0392232e6f31671bb0e690903564c368926ad23f9a432f959a904e6b2f1"` [INFO] running `"docker" "rm" "-f" "e40ab0392232e6f31671bb0e690903564c368926ad23f9a432f959a904e6b2f1"` [INFO] [stdout] e40ab0392232e6f31671bb0e690903564c368926ad23f9a432f959a904e6b2f1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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-08-13" "test" "--frozen"` [INFO] [stdout] 5a31bf792049c780841d8e1ee4e184007ae9ba5f0373e3dff9565a812adab557 [INFO] running `"docker" "start" "-a" "5a31bf792049c780841d8e1ee4e184007ae9ba5f0373e3dff9565a812adab557"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/crater/target/debug/deps/tor_crypto-6f1cc8586b414b26 [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] [stderr] Doc-tests tor_crypto [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" "5a31bf792049c780841d8e1ee4e184007ae9ba5f0373e3dff9565a812adab557"` [INFO] running `"docker" "rm" "-f" "5a31bf792049c780841d8e1ee4e184007ae9ba5f0373e3dff9565a812adab557"` [INFO] [stdout] 5a31bf792049c780841d8e1ee4e184007ae9ba5f0373e3dff9565a812adab557