[INFO] cloning repository https://github.com/wizzk42/rsa-crypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wizzk42/rsa-crypt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwizzk42%2Frsa-crypt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwizzk42%2Frsa-crypt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e98223fbeb32259eda05884677e7ea6e03f66d34 [INFO] checking wizzk42/rsa-crypt against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwizzk42%2Frsa-crypt" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wizzk42/rsa-crypt 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/wizzk42/rsa-crypt [INFO] finished tweaking git repo https://github.com/wizzk42/rsa-crypt [INFO] tweaked toml for git repo https://github.com/wizzk42/rsa-crypt written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/wizzk42/rsa-crypt 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] warning: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.43 [INFO] [stderr] Downloaded openssl v0.10.20 [INFO] [stderr] Downloaded pretty_assertions v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] f10f914f250443f151f81598c87bfcd620cd232e183f0779bf28dc47fd2f6f70 [INFO] running `Command { std: "docker" "start" "-a" "f10f914f250443f151f81598c87bfcd620cd232e183f0779bf28dc47fd2f6f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f10f914f250443f151f81598c87bfcd620cd232e183f0779bf28dc47fd2f6f70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f10f914f250443f151f81598c87bfcd620cd232e183f0779bf28dc47fd2f6f70", kill_on_drop: false }` [INFO] [stdout] f10f914f250443f151f81598c87bfcd620cd232e183f0779bf28dc47fd2f6f70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 000c13f727d07f05a7367841c2997aaf7a77c29572820600cb1cfb412f22d714 [INFO] running `Command { std: "docker" "start" "-a" "000c13f727d07f05a7367841c2997aaf7a77c29572820600cb1cfb412f22d714", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Compiling openssl v0.10.20 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pretty_assertions v0.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling openssl-sys v0.9.43 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Checking structopt v0.2.15 [INFO] [stderr] Checking rsa-crypt v0.1.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `rsa_crypt::crypt::Encryptable` [INFO] [stdout] --> src/tests/roundtrip_tests.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | use rsa_crypt::crypt::{Encrypter, AesEncrypter, RsaEncrypter, Encryptable}; [INFO] [stdout] | ^^^^^^^^^^^ no `Encryptable` in `crypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rsa_crypt::crypt::Decryptable` [INFO] [stdout] --> src/tests/roundtrip_tests.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | use rsa_crypt::crypt::{Decrypter, AesDecrypter, RsaDecrypter, Decryptable}; [INFO] [stdout] | ^^^^^^^^^^^ no `Decryptable` in `crypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Encrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:26:61 [INFO] [stdout] | [INFO] [stdout] 26 | let rsa_encrypter: Encrypter = Encrypter::new(&public_key); [INFO] [stdout] | ^^^ function or associated item not found in `Encrypter<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::encryptable::Encryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `Encrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | .encrypt( [INFO] [stdout] | ^^^^^^^ method not found in `Encrypter` [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/src/crypt/api/encryptable.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn encrypt(&self, _plaintext: &[u8], _ciphertext: &mut Vec, _opts: &CryptParams) -> usize; [INFO] [stdout] | ------- the method is available for `Encrypter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::encryptable::Encryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Decrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | let rsa_decrypter: Decrypter = Decrypter::new( [INFO] [stdout] | ^^^ function or associated item not found in `Decrypter<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::decryptable::Decryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decrypt` found for struct `Decrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | .decrypt(&mut decrypted_plaintext, &ciphertext); [INFO] [stdout] | ^^^^^^^ method not found in `Decrypter` [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/src/crypt/api/decryptable.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn decrypt(&self, _plaintext: &mut Vec, _ciphertext: &[u8], _params: &CryptParams) -> usize; [INFO] [stdout] | ------- the method is available for `Decrypter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::decryptable::Decryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Encrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | let aes_encrypter: Encrypter = Encrypter::new(&key); [INFO] [stdout] | ^^^ function or associated item not found in `Encrypter<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::encryptable::Encryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `Encrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | .encrypt( [INFO] [stdout] | ^^^^^^^ method not found in `Encrypter` [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/src/crypt/api/encryptable.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn encrypt(&self, _plaintext: &[u8], _ciphertext: &mut Vec, _opts: &CryptParams) -> usize; [INFO] [stdout] | ------- the method is available for `Encrypter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::encryptable::Encryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Decrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:67:61 [INFO] [stdout] | [INFO] [stdout] 67 | let aes_decrypter: Decrypter = Decrypter::new(&key, &Vec::new()); [INFO] [stdout] | ^^^ function or associated item not found in `Decrypter<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::decryptable::Decryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decrypt` found for struct `Decrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | let plaintext_len: usize = aes_decrypter.decrypt( [INFO] [stdout] | ^^^^^^^ method not found in `Decrypter` [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/src/crypt/api/decryptable.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn decrypt(&self, _plaintext: &mut Vec, _ciphertext: &[u8], _params: &CryptParams) -> usize; [INFO] [stdout] | ------- the method is available for `Decrypter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::decryptable::Decryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Encrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:87:61 [INFO] [stdout] | [INFO] [stdout] 87 | let aes_encrypter: Encrypter = Encrypter::new(&key); [INFO] [stdout] | ^^^ function or associated item not found in `Encrypter<_>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::encryptable::Encryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encrypt` found for struct `Encrypter` in the current scope [INFO] [stdout] --> src/tests/roundtrip_tests.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | .encrypt( [INFO] [stdout] | ^^^^^^^ method not found in `Encrypter` [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/src/crypt/api/encryptable.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn encrypt(&self, _plaintext: &[u8], _ciphertext: &mut Vec, _opts: &CryptParams) -> usize; [INFO] [stdout] | ------- the method is available for `Encrypter` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::rsa_crypt::crypt::api::encryptable::Encryptable;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsa-crypt` due to 13 previous errors [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" "000c13f727d07f05a7367841c2997aaf7a77c29572820600cb1cfb412f22d714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "000c13f727d07f05a7367841c2997aaf7a77c29572820600cb1cfb412f22d714", kill_on_drop: false }` [INFO] [stdout] 000c13f727d07f05a7367841c2997aaf7a77c29572820600cb1cfb412f22d714