[INFO] cloning repository https://github.com/hellopatrick/cryptopals.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hellopatrick/cryptopals.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fcryptopals.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fcryptopals.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 341322dd95e25211870719d9e0c188dc1f57bfe0 [INFO] checking hellopatrick/cryptopals.rs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fcryptopals.rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hellopatrick/cryptopals.rs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hellopatrick/cryptopals.rs [INFO] finished tweaking git repo https://github.com/hellopatrick/cryptopals.rs [INFO] tweaked toml for git repo https://github.com/hellopatrick/cryptopals.rs written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/hellopatrick/cryptopals.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18bb3f8971125a4bb75bbe1096c54817f45046b4f54cd89000c5fa9d9762caa5 [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" "18bb3f8971125a4bb75bbe1096c54817f45046b4f54cd89000c5fa9d9762caa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18bb3f8971125a4bb75bbe1096c54817f45046b4f54cd89000c5fa9d9762caa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18bb3f8971125a4bb75bbe1096c54817f45046b4f54cd89000c5fa9d9762caa5", kill_on_drop: false }` [INFO] [stdout] 18bb3f8971125a4bb75bbe1096c54817f45046b4f54cd89000c5fa9d9762caa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36bf3f5d4f293646477a19768ba2d774b457f47ad13ced8dfab7cdccc399f28f [INFO] running `Command { std: "docker" "start" "-a" "36bf3f5d4f293646477a19768ba2d774b457f47ad13ced8dfab7cdccc399f28f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling openssl-src v111.6.1+1.1.1d [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Checking cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/sets/../../data/01-04.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_01.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | let input = include_str!("../../data/01-04.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/01-06.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_01.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | let input = include_str!("../../data/01-06.txt").replace("\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/01-07.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_01.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 115 | let input = include_str!("../../data/01-07.txt").replace("\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/01-08.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_01.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | let input: &str = include_str!("../../data/01-08.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/02-02.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_02.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let input = include_str!("../../data/02-02.txt").replace("\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/02-02.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_02.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | let input = include_str!("../../data/02-02.txt").replace("\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/02-04.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_02.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let input = include_str!("../../data/02-04.txt").replace("\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/02-04.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_02.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | let input = include_str!("../../data/02-04.txt").replace("\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/02-04.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_02.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let input = include_str!("../../data/02-04.txt").replace("\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/02-04.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_02.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | let input = include_str!("../../data/02-04.txt").replace("\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/03-01.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_03.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | let plaintexts: Vec<_> = include_str!("../../data/03-01.txt").lines().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/03-20.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_03.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | let plaintexts: Vec<_> = include_str!("../../data/03-20.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/03-21.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_03.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 265 | let output: Vec = include_str!("../../data/03-21.txt") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/sets/../../data/04-25.txt: No such file or directory (os error 2) [INFO] [stdout] --> src/sets/set_04.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let text = include_str!("../../data/04-25.txt").replace("\n", ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/sets/set_03.rs:220:6 [INFO] [stdout] | [INFO] [stdout] 220 | .flat_map(|line| ctr::crypt(line, &nonce, |block| encrypt_aes_128_block(block, &key))) [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because of the requirements on the impl of `Iterator` for `std::slice::Iter<'_, [u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/sets/set_03.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let mut ciphertexts: Vec<_> = plaintexts [INFO] [stdout] | _________________________________^ [INFO] [stdout] 219 | | .iter() [INFO] [stdout] 220 | | .flat_map(|line| ctr::crypt(line, &nonce, |block| encrypt_aes_128_block(block, &key))) [INFO] [stdout] | |__________________________________________________________________________________________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/sets/set_03.rs:219:6 [INFO] [stdout] | [INFO] [stdout] 219 | .iter() [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/sets/set_03.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | let plaintexts: Vec<_> = include_str!("../../data/03-20.txt") [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `collect` found for struct `FlatMap, std::result::Result, EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90]>` in the current scope [INFO] [stdout] --> src/sets/set_03.rs:221:6 [INFO] [stdout] | [INFO] [stdout] 221 | .collect(); [INFO] [stdout] | ^^^^^^^ method not found in `FlatMap, std::result::Result, EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90]>` [INFO] [stdout] | [INFO] [stdout] = note: the method `collect` exists but the following trait bounds were not satisfied: [INFO] [stdout] `[u8]: Sized` [INFO] [stdout] which is required by `FlatMap, std::result::Result, EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90]>: Iterator` [INFO] [stdout] `std::slice::Iter<'_, [u8]>: Iterator` [INFO] [stdout] which is required by `FlatMap, std::result::Result, EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90]>: Iterator` [INFO] [stdout] `FlatMap, std::result::Result, EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90]>: Iterator` [INFO] [stdout] which is required by `&mut FlatMap, std::result::Result, EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90]>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/sets/set_03.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | for (ciphertext, original) in ciphertexts.iter().zip(plaintexts) { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/sets/set_03.rs:245:33 [INFO] [stdout] | [INFO] [stdout] 245 | for (ciphertext, original) in ciphertexts.iter().zip(plaintexts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `([type error], [u8])`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `([type error], [u8])` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/sets/set_03.rs:245:7 [INFO] [stdout] | [INFO] [stdout] 245 | for (ciphertext, original) in ciphertexts.iter().zip(plaintexts) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `([type error], [u8])`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required because it appears within the type `([type error], [u8])` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tools::xor` [INFO] [stdout] --> src/sets/set_03.rs:208:7 [INFO] [stdout] | [INFO] [stdout] 208 | use crate::tools::xor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptopals` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "36bf3f5d4f293646477a19768ba2d774b457f47ad13ced8dfab7cdccc399f28f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36bf3f5d4f293646477a19768ba2d774b457f47ad13ced8dfab7cdccc399f28f", kill_on_drop: false }` [INFO] [stdout] 36bf3f5d4f293646477a19768ba2d774b457f47ad13ced8dfab7cdccc399f28f