[INFO] cloning repository https://github.com/ex0dus-0x/PolyPasswordHasher-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ex0dus-0x/PolyPasswordHasher-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fex0dus-0x%2FPolyPasswordHasher-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fex0dus-0x%2FPolyPasswordHasher-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89fb6e2da7aa57b3f65174c793b6af1c5f96839d [INFO] checking ex0dus-0x/PolyPasswordHasher-Rust against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fex0dus-0x%2FPolyPasswordHasher-Rust" "/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/ex0dus-0x/PolyPasswordHasher-Rust on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ex0dus-0x/PolyPasswordHasher-Rust [INFO] finished tweaking git repo https://github.com/ex0dus-0x/PolyPasswordHasher-Rust [INFO] tweaked toml for git repo https://github.com/ex0dus-0x/PolyPasswordHasher-Rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ex0dus-0x/PolyPasswordHasher-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 084cb0b82c84c948a964a8b4154cefd2449131d5a8240a26f4db181eb5952ed9 [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" "084cb0b82c84c948a964a8b4154cefd2449131d5a8240a26f4db181eb5952ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "084cb0b82c84c948a964a8b4154cefd2449131d5a8240a26f4db181eb5952ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "084cb0b82c84c948a964a8b4154cefd2449131d5a8240a26f4db181eb5952ed9", kill_on_drop: false }` [INFO] [stdout] 084cb0b82c84c948a964a8b4154cefd2449131d5a8240a26f4db181eb5952ed9 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be4410a791ee7e931b782df9487f0fb998dbe1cfce837eb00fc894a1fb4867ad [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" "be4410a791ee7e931b782df9487f0fb998dbe1cfce837eb00fc894a1fb4867ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling filetime v0.2.9 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde_json v1.0.8 [INFO] [stderr] Checking sodiumoxide v0.2.5 [INFO] [stderr] Checking polypasswordhasher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> tests/test_pph.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let mut pph = PolyPasswordHasher::new(2, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ - ---- ---- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(threshold: u8, passwordfile: Option) -> PPHResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_account` found for enum `Result` in the current scope [INFO] [stdout] --> tests/test_pph.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | pph.create_account(String::from("admin"), String::from("correct horse"), 5); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_account` found for enum `Result` in the current scope [INFO] [stdout] --> tests/test_pph.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pph.create_account(String::from("root"), String::from("battery staple"), 5); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `polypasswordhasher` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_secret_share.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | let _ = ShamirSecret::new(5, Some(message)); [INFO] [stdout] | ^^^^^^^ expected struct `Vec`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_secret_share.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 31 | let secret = ShamirSecret::new(3, Some("Hello".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `Vec`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_secret_share.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let s = ShamirSecret::new(2, Some(message)); [INFO] [stdout] | ^^^^^^^ expected struct `Vec`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "be4410a791ee7e931b782df9487f0fb998dbe1cfce837eb00fc894a1fb4867ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be4410a791ee7e931b782df9487f0fb998dbe1cfce837eb00fc894a1fb4867ad", kill_on_drop: false }` [INFO] [stdout] be4410a791ee7e931b782df9487f0fb998dbe1cfce837eb00fc894a1fb4867ad