[INFO] updating cached repository https://github.com/janisbent/TorCrypto
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] bcbe48eb13159b4bd505443b22f1e456fdaa3ab0
[INFO] testing janisbent/TorCrypto against beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanisbent%2FTorCrypto" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/janisbent/TorCrypto on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/janisbent/TorCrypto
[INFO] finished tweaking git repo https://github.com/janisbent/TorCrypto
[INFO] tweaked toml for git repo https://github.com/janisbent/TorCrypto written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/janisbent/TorCrypto already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-12-18" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f3a802052e583e5d8669cc505881a02a0d64b1df8518d6c4897c365e1461e76e
[INFO] running `"docker" "start" "-a" "f3a802052e583e5d8669cc505881a02a0d64b1df8518d6c4897c365e1461e76e"`
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling tor_crypto v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.79s
[INFO] running `"docker" "inspect" "f3a802052e583e5d8669cc505881a02a0d64b1df8518d6c4897c365e1461e76e"`
[INFO] running `"docker" "rm" "-f" "f3a802052e583e5d8669cc505881a02a0d64b1df8518d6c4897c365e1461e76e"`
[INFO] [stdout] f3a802052e583e5d8669cc505881a02a0d64b1df8518d6c4897c365e1461e76e
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-12-18" "test" "--frozen" "--no-run"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7ebf9ee8f98e44fc44eb774faaef9cc7d9b68c19dd968ca6695c930e1758e43c
[INFO] running `"docker" "start" "-a" "7ebf9ee8f98e44fc44eb774faaef9cc7d9b68c19dd968ca6695c930e1758e43c"`
[INFO] [stderr]    Compiling tor_crypto v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.85s
[INFO] running `"docker" "inspect" "7ebf9ee8f98e44fc44eb774faaef9cc7d9b68c19dd968ca6695c930e1758e43c"`
[INFO] running `"docker" "rm" "-f" "7ebf9ee8f98e44fc44eb774faaef9cc7d9b68c19dd968ca6695c930e1758e43c"`
[INFO] [stdout] 7ebf9ee8f98e44fc44eb774faaef9cc7d9b68c19dd968ca6695c930e1758e43c
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-12-18" "test" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 68a8a16785c75379e7388ca63eb91a163395bcfba72b74c3ca1c4f519ad1346f
[INFO] running `"docker" "start" "-a" "68a8a16785c75379e7388ca63eb91a163395bcfba72b74c3ca1c4f519ad1346f"`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/tor_crypto-08248536e556a2ce
[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::export_pub (line 99) ... FAILED
[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::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::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::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] 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" "68a8a16785c75379e7388ca63eb91a163395bcfba72b74c3ca1c4f519ad1346f"`
[INFO] running `"docker" "rm" "-f" "68a8a16785c75379e7388ca63eb91a163395bcfba72b74c3ca1c4f519ad1346f"`
[INFO] [stdout] 68a8a16785c75379e7388ca63eb91a163395bcfba72b74c3ca1c4f519ad1346f
