[INFO] fetching crate enigma 0.0.2... [INFO] checking enigma-0.0.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate enigma 0.0.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate enigma 0.0.2 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 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] af9b33199fa2a9a1a8c697f9b38dd7c2f34ec3fcabb35bf8f1a782d96e31b3d3 [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" "af9b33199fa2a9a1a8c697f9b38dd7c2f34ec3fcabb35bf8f1a782d96e31b3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af9b33199fa2a9a1a8c697f9b38dd7c2f34ec3fcabb35bf8f1a782d96e31b3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af9b33199fa2a9a1a8c697f9b38dd7c2f34ec3fcabb35bf8f1a782d96e31b3d3", kill_on_drop: false }` [INFO] [stdout] af9b33199fa2a9a1a8c697f9b38dd7c2f34ec3fcabb35bf8f1a782d96e31b3d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] d021d742e05e03282d6fda4b27f7496f448069d19072718a3b9c7a411cae6e09 [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" "d021d742e05e03282d6fda4b27f7496f448069d19072718a3b9c7a411cae6e09", kill_on_drop: false }` [INFO] [stderr] Checking rustc-serialize v0.3.24 [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: 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: 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" "d021d742e05e03282d6fda4b27f7496f448069d19072718a3b9c7a411cae6e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d021d742e05e03282d6fda4b27f7496f448069d19072718a3b9c7a411cae6e09", kill_on_drop: false }` [INFO] [stdout] d021d742e05e03282d6fda4b27f7496f448069d19072718a3b9c7a411cae6e09