[INFO] updating cached repository https://github.com/r3dlight/SecurePassword [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] 2824d4b76bf3e1e7d12ff43d7826b0ccda5b7409 [INFO] checking r3dlight/SecurePassword against master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [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 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [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=forbid" "-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" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7cf28c73ed0a481b100f4d39b79a75aea12b4b3ea7e6a35ad0b8caa698768db0 [INFO] running `"docker" "start" "-a" "7cf28c73ed0a481b100f4d39b79a75aea12b4b3ea7e6a35ad0b8caa698768db0"` [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking nom v5.1.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Checking 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] 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 '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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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] warning: use of deprecated item 'time::precise_time_ns': Use `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 `PrimitiveDateTime::now() - PrimitiveDateTime::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 [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `secure_password`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "7cf28c73ed0a481b100f4d39b79a75aea12b4b3ea7e6a35ad0b8caa698768db0"` [INFO] running `"docker" "rm" "-f" "7cf28c73ed0a481b100f4d39b79a75aea12b4b3ea7e6a35ad0b8caa698768db0"` [INFO] [stdout] 7cf28c73ed0a481b100f4d39b79a75aea12b4b3ea7e6a35ad0b8caa698768db0