[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwizzk42%2Frsa-crypt" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wizzk42/rsa-crypt on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-10/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a82b333bef3118440865c7350e82639d6637f1adec4660762b5abcbb7c2faf10 [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" "a82b333bef3118440865c7350e82639d6637f1adec4660762b5abcbb7c2faf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a82b333bef3118440865c7350e82639d6637f1adec4660762b5abcbb7c2faf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a82b333bef3118440865c7350e82639d6637f1adec4660762b5abcbb7c2faf10", kill_on_drop: false }` [INFO] [stdout] a82b333bef3118440865c7350e82639d6637f1adec4660762b5abcbb7c2faf10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c61bdc90a23dfe0e817c4f84af68c3f6aeee5631913146aaf03e55f3d3e5b3f4 [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" "c61bdc90a23dfe0e817c4f84af68c3f6aeee5631913146aaf03e55f3d3e5b3f4", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.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] Compiling byteorder v1.3.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling openssl v0.10.20 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pretty_assertions v0.4.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking base64 v0.10.1 [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 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `tag_buffer_size` [INFO] [stdout] --> src/crypt/decrypter/aes.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | tag_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tag_buffer_size` [INFO] [stdout] --> src/crypt/decrypter/aes.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | tag_buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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] = 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] = 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] = 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] = 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] = 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c61bdc90a23dfe0e817c4f84af68c3f6aeee5631913146aaf03e55f3d3e5b3f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61bdc90a23dfe0e817c4f84af68c3f6aeee5631913146aaf03e55f3d3e5b3f4", kill_on_drop: false }` [INFO] [stdout] c61bdc90a23dfe0e817c4f84af68c3f6aeee5631913146aaf03e55f3d3e5b3f4