[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fex0dus-0x%2FPolyPasswordHasher-Rust" "/workspace/builds/worker-84/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-84/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ex0dus-0x/PolyPasswordHasher-Rust on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-84/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.1.41 [INFO] [stderr] Downloaded serde_json v1.0.8 [INFO] [stderr] Downloaded sodiumoxide v0.2.5 [INFO] [stderr] Downloaded libsodium-sys v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c47684a250b278e7f96d372c278dffc084fe888f3debdd2fa5edc4c2952befd [INFO] running `Command { std: "docker" "start" "-a" "5c47684a250b278e7f96d372c278dffc084fe888f3debdd2fa5edc4c2952befd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c47684a250b278e7f96d372c278dffc084fe888f3debdd2fa5edc4c2952befd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c47684a250b278e7f96d372c278dffc084fe888f3debdd2fa5edc4c2952befd", kill_on_drop: false }` [INFO] [stdout] 5c47684a250b278e7f96d372c278dffc084fe888f3debdd2fa5edc4c2952befd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8789d7d248f70c70a402aa20d0a15e1bfb967d3c2f9146cfb73431d90725ede0 [INFO] running `Command { std: "docker" "start" "-a" "8789d7d248f70c70a402aa20d0a15e1bfb967d3c2f9146cfb73431d90725ede0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.68: default, std [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [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 rle-decode-fast v1.0.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling quote v1.0.3 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_pph.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test_secret_share.rs from 2018 edition to 2021 [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] --> /tmp/fixit/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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8789d7d248f70c70a402aa20d0a15e1bfb967d3c2f9146cfb73431d90725ede0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8789d7d248f70c70a402aa20d0a15e1bfb967d3c2f9146cfb73431d90725ede0", kill_on_drop: false }` [INFO] [stdout] 8789d7d248f70c70a402aa20d0a15e1bfb967d3c2f9146cfb73431d90725ede0