[INFO] cloning repository https://github.com/r3dlight/SecurePassword [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r3dlight/SecurePassword" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr3dlight%2FSecurePassword"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr3dlight%2FSecurePassword'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2824d4b76bf3e1e7d12ff43d7826b0ccda5b7409 [INFO] testing r3dlight/SecurePassword against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr3dlight%2FSecurePassword" "/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/r3dlight/SecurePassword on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/r3dlight/SecurePassword [INFO] finished tweaking git repo https://github.com/r3dlight/SecurePassword [INFO] tweaked toml for git repo https://github.com/r3dlight/SecurePassword written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/r3dlight/SecurePassword already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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" "+1.44.0" "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] ec781c3d345512fa41269df7b11a0f41a56f35908351f2334b36b82b1fe19cae [INFO] running `"docker" "start" "-a" "ec781c3d345512fa41269df7b11a0f41a56f35908351f2334b36b82b1fe19cae"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling lexical-core v0.6.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling secure_password v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `rand::OsRng` [INFO] [stderr] --> src/main.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use rand::{Rng, OsRng}; [INFO] [stderr] | ^^^^^ no `OsRng` in the root [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | let mut rng = try!(OsRng::new().map_err(|_| EncryptError::RngInitializationFailed)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rng` [INFO] [stderr] --> src/main.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | use rand::{Rng, OsRng}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:73:100 [INFO] [stderr] | [INFO] [stderr] 73 | println!("[DEBUG.client]: time: {}, Wanna send my password 'AF0ndLaF0rM3?' over the air...\n", time::precise_time_ns()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:75:99 [INFO] [stderr] | [INFO] [stderr] 75 | println!("[DEBUG.client]: time: {}, Generating an ephemeral asymetric Curve25519 keypair.\n", time::precise_time_ns()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:76:111 [INFO] [stderr] | [INFO] [stderr] 76 | println!("[DEBUG.client]: time: {}, Encryption done with my ephemeral private Key and server pub key.\n", time::precise_time_ns()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:77:118 [INFO] [stderr] | [INFO] [stderr] 77 | println!("[DEBUG.client]: time: {}, Now switching to symetric encryption/authentication (chacha20-poly1305).\n", time::precise_time_ns()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:78:97 [INFO] [stderr] | [INFO] [stderr] 78 | println!("[DEBUG.client]: time: {}, Sending my encrypted password + time OvEr ThE AiR !\n", time::precise_time_ns()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:81:97 [INFO] [stderr] | [INFO] [stderr] 81 | println!("[DEBUG.server]: time: {}, Checking time & decrypting the received password...\n", time::precise_time_ns()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stderr] --> src/main.rs:84:68 [INFO] [stderr] | [INFO] [stderr] 84 | println!("[DEBUG.server]: time: {}, Decrypted password is {}", time::precise_time_ns(), String::from_utf8(decrypted_message).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 9 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `secure_password`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ec781c3d345512fa41269df7b11a0f41a56f35908351f2334b36b82b1fe19cae"` [INFO] running `"docker" "rm" "-f" "ec781c3d345512fa41269df7b11a0f41a56f35908351f2334b36b82b1fe19cae"` [INFO] [stdout] ec781c3d345512fa41269df7b11a0f41a56f35908351f2334b36b82b1fe19cae