[INFO] cloning repository https://github.com/r3dlight/SecurePassword [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr3dlight%2FSecurePassword'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2824d4b76bf3e1e7d12ff43d7826b0ccda5b7409 [INFO] checking r3dlight/SecurePassword against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr3dlight%2FSecurePassword" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r3dlight/SecurePassword on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/r3dlight/SecurePassword already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9da4b54c9480fcd4725ea2f65ba6d74311994a375b322253266bbcb69d3e548 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a9da4b54c9480fcd4725ea2f65ba6d74311994a375b322253266bbcb69d3e548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9da4b54c9480fcd4725ea2f65ba6d74311994a375b322253266bbcb69d3e548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9da4b54c9480fcd4725ea2f65ba6d74311994a375b322253266bbcb69d3e548", kill_on_drop: false }` [INFO] [stdout] a9da4b54c9480fcd4725ea2f65ba6d74311994a375b322253266bbcb69d3e548 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdf04f5f35fcc80f5c8ff97e2813ece77e9b75a00c8601c09db14d6a0cd9c8db [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fdf04f5f35fcc80f5c8ff97e2813ece77e9b75a00c8601c09db14d6a0cd9c8db", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking groupable v0.2.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking lexical-core v0.7.4 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking secure_password v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand::OsRng` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, OsRng}; [INFO] [stdout] | ^^^^^ no `OsRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = try!(OsRng::new().map_err(|_| EncryptError::RngInitializationFailed)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, OsRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::OsRng` [INFO] [stdout] --> src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, OsRng}; [INFO] [stdout] | ^^^^^ no `OsRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let mut rng = try!(OsRng::new().map_err(|_| EncryptError::RngInitializationFailed)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{Rng, OsRng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:73:100 [INFO] [stdout] | [INFO] [stdout] 73 | println!("[DEBUG.client]: time: {}, Wanna send my password 'AF0ndLaF0rM3?' over the air...\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:75:99 [INFO] [stdout] | [INFO] [stdout] 75 | println!("[DEBUG.client]: time: {}, Generating an ephemeral asymetric Curve25519 keypair.\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:76:111 [INFO] [stdout] | [INFO] [stdout] 76 | println!("[DEBUG.client]: time: {}, Encryption done with my ephemeral private Key and server pub key.\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:77:118 [INFO] [stdout] | [INFO] [stdout] 77 | ...tric encryption/authentication (chacha20-poly1305).\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:78:97 [INFO] [stdout] | [INFO] [stdout] 78 | println!("[DEBUG.client]: time: {}, Sending my encrypted password + time OvEr ThE AiR !\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:81:97 [INFO] [stdout] | [INFO] [stdout] 81 | println!("[DEBUG.server]: time: {}, Checking time & decrypting the received password...\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:84:68 [INFO] [stdout] | [INFO] [stdout] 84 | println!("[DEBUG.server]: time: {}, Decrypted password is {}", time::precise_time_ns(), String::from_utf8(decrypted_message).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:73:100 [INFO] [stdout] | [INFO] [stdout] 73 | println!("[DEBUG.client]: time: {}, Wanna send my password 'AF0ndLaF0rM3?' over the air...\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:75:99 [INFO] [stdout] | [INFO] [stdout] 75 | println!("[DEBUG.client]: time: {}, Generating an ephemeral asymetric Curve25519 keypair.\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:76:111 [INFO] [stdout] | [INFO] [stdout] 76 | println!("[DEBUG.client]: time: {}, Encryption done with my ephemeral private Key and server pub key.\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:77:118 [INFO] [stdout] | [INFO] [stdout] 77 | ...tric encryption/authentication (chacha20-poly1305).\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:78:97 [INFO] [stdout] | [INFO] [stdout] 78 | println!("[DEBUG.client]: time: {}, Sending my encrypted password + time OvEr ThE AiR !\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:81:97 [INFO] [stdout] | [INFO] [stdout] 81 | println!("[DEBUG.server]: time: {}, Checking time & decrypting the received password...\n", time::precise_time_ns()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:84:68 [INFO] [stdout] | [INFO] [stdout] 84 | println!("[DEBUG.server]: time: {}, Decrypted password is {}", time::precise_time_ns(), String::from_utf8(decrypted_message).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secure_password` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fdf04f5f35fcc80f5c8ff97e2813ece77e9b75a00c8601c09db14d6a0cd9c8db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdf04f5f35fcc80f5c8ff97e2813ece77e9b75a00c8601c09db14d6a0cd9c8db", kill_on_drop: false }` [INFO] [stdout] fdf04f5f35fcc80f5c8ff97e2813ece77e9b75a00c8601c09db14d6a0cd9c8db