[INFO] fetching crate enigma 0.0.2... [INFO] checking enigma-0.0.2 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate enigma 0.0.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate enigma 0.0.2 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67cfa110c25e586c778b1f6d8932a1402b265cab1813240c53ca64f48d949922 [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" "67cfa110c25e586c778b1f6d8932a1402b265cab1813240c53ca64f48d949922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67cfa110c25e586c778b1f6d8932a1402b265cab1813240c53ca64f48d949922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67cfa110c25e586c778b1f6d8932a1402b265cab1813240c53ca64f48d949922", kill_on_drop: false }` [INFO] [stdout] 67cfa110c25e586c778b1f6d8932a1402b265cab1813240c53ca64f48d949922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c5a485d87dd4f9e177990e4c4a4e49ffde207ea028a31c5ffc7806e51603c17 [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" "9c5a485d87dd4f9e177990e4c4a4e49ffde207ea028a31c5ffc7806e51603c17", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn HashFunction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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 `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9c5a485d87dd4f9e177990e4c4a4e49ffde207ea028a31c5ffc7806e51603c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c5a485d87dd4f9e177990e4c4a4e49ffde207ea028a31c5ffc7806e51603c17", kill_on_drop: false }` [INFO] [stdout] 9c5a485d87dd4f9e177990e4c4a4e49ffde207ea028a31c5ffc7806e51603c17