[INFO] fetching crate enigma 0.0.2...
[INFO] checking enigma-0.0.2 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate enigma 0.0.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate enigma 0.0.2 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate enigma 0.0.2
[INFO] finished tweaking crates.io crate enigma 0.0.2
[INFO] tweaked toml for crates.io crate enigma 0.0.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d60e2925f1b6cf5726e6c9239a60cc8151a4399985e8f12386bfbb430376d640
[INFO] running `Command { std: "docker" "start" "-a" "d60e2925f1b6cf5726e6c9239a60cc8151a4399985e8f12386bfbb430376d640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d60e2925f1b6cf5726e6c9239a60cc8151a4399985e8f12386bfbb430376d640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d60e2925f1b6cf5726e6c9239a60cc8151a4399985e8f12386bfbb430376d640", kill_on_drop: false }`
[INFO] [stdout] d60e2925f1b6cf5726e6c9239a60cc8151a4399985e8f12386bfbb430376d640
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9ce835f6f615dc7e367f70b394db05c9e7328f8006228f3ada44c863854a00e
[INFO] running `Command { std: "docker" "start" "-a" "c9ce835f6f615dc7e367f70b394db05c9e7328f8006228f3ada44c863854a00e", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking enigma v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/hashes/md2.rs:96:33
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let n = min(in_len, (16 - self.cur_len));
[INFO] [stdout]    |                                 ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -             let n = min(in_len, (16 - self.cur_len));
[INFO] [stdout] 96 +             let n = min(in_len, 16 - self.cur_len);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/hashes/mod.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         use std::vec::Vec;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/hashes/md2.rs:96:33
[INFO] [stdout]    |
[INFO] [stdout] 96 |             let n = min(in_len, (16 - self.cur_len));
[INFO] [stdout]    |                                 ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -             let n = min(in_len, (16 - self.cur_len));
[INFO] [stdout] 96 +             let n = min(in_len, 16 - self.cur_len);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]   --> src/hashes/mod.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         use std::vec::Vec;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Vec` is already defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/hashes/mod.rs:91:41
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn perform_hash_test(hash: &mut HashFunction, test: &HashTestCase) {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn perform_hash_test(hash: &mut dyn HashFunction, test: &HashTestCase) {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/hashes/md4.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn set_input(&mut self, input: &[u8]) {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_elem` found for struct `Vec<_, _>` in the current scope
[INFO] [stdout]   --> src/hashes/mod.rs:96:31
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let mut result = Vec::from_elem(hash.get_output_length(), 0u8);
[INFO] [stdout]    |                               ^^^^^^^^^ function or associated item not found in `Vec<_, _>`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `Vec<_, _>` consider using one of the following associated functions:
[INFO] [stdout]       Vec::<T>::new
[INFO] [stdout]       Vec::<T>::with_capacity
[INFO] [stdout]       Vec::<T>::try_with_capacity
[INFO] [stdout]       Vec::<T>::from_raw_parts
[INFO] [stdout]       and 4 others
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/alloc/src/vec/mod.rs:422:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]   --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/iter/traits/collect.rs:150:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope
[INFO] [stdout]    --> src/hashes/mod.rs:115:28
[INFO] [stdout]     |
[INFO] [stdout] 115 |         assert!(result_str.as_slice() == test.output_str);
[INFO] [stdout]     |                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/hashes/md4.rs:52:29
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn set_input(&mut self, input: &[u8]) {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `enigma` (lib test) due to 3 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c9ce835f6f615dc7e367f70b394db05c9e7328f8006228f3ada44c863854a00e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9ce835f6f615dc7e367f70b394db05c9e7328f8006228f3ada44c863854a00e", kill_on_drop: false }`
[INFO] [stdout] c9ce835f6f615dc7e367f70b394db05c9e7328f8006228f3ada44c863854a00e
