[INFO] updating cached repository https://github.com/hellopatrick/cryptopals.rs
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 341322dd95e25211870719d9e0c188dc1f57bfe0
[INFO] checking hellopatrick/cryptopals.rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fcryptopals.rs" "/workspace/builds/worker-2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hellopatrick/cryptopals.rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-2/source/Cargo.toml
[INFO] crate git repo https://github.com/hellopatrick/cryptopals.rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d3db44dad9cc8eefe43dc2c5d5b4f5197a04da1aabb6b0c0e9223a8384e39bce
[INFO] running `"docker" "start" "-a" "d3db44dad9cc8eefe43dc2c5d5b4f5197a04da1aabb6b0c0e9223a8384e39bce"`
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]    Compiling openssl v0.10.26
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]    Compiling openssl-src v111.6.1+1.1.1d
[INFO] [stderr]    Compiling openssl-sys v0.9.53
[INFO] [stderr]     Checking cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: couldn't read src/sets/../../data/01-04.txt: No such file or directory (os error 2)
[INFO] [stderr]   --> src/sets/set_01.rs:44:15
[INFO] [stderr]    |
[INFO] [stderr] 44 |   let input = include_str!("../../data/01-04.txt");
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/01-06.txt: No such file or directory (os error 2)
[INFO] [stderr]   --> src/sets/set_01.rs:82:15
[INFO] [stderr]    |
[INFO] [stderr] 82 |   let input = include_str!("../../data/01-06.txt").replace("\n", "");
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/01-07.txt: No such file or directory (os error 2)
[INFO] [stderr]    --> src/sets/set_01.rs:115:15
[INFO] [stderr]     |
[INFO] [stderr] 115 |   let input = include_str!("../../data/01-07.txt").replace("\n", "");
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/01-08.txt: No such file or directory (os error 2)
[INFO] [stderr]    --> src/sets/set_01.rs:133:21
[INFO] [stderr]     |
[INFO] [stderr] 133 |   let input: &str = include_str!("../../data/01-08.txt");
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/02-02.txt: No such file or directory (os error 2)
[INFO] [stderr]   --> src/sets/set_02.rs:19:15
[INFO] [stderr]    |
[INFO] [stderr] 19 |   let input = include_str!("../../data/02-02.txt").replace("\n", "");
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/02-02.txt: No such file or directory (os error 2)
[INFO] [stderr]   --> src/sets/set_02.rs:74:15
[INFO] [stderr]    |
[INFO] [stderr] 74 |   let input = include_str!("../../data/02-02.txt").replace("\n", "");
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/02-04.txt: No such file or directory (os error 2)
[INFO] [stderr]   --> src/sets/set_02.rs:95:17
[INFO] [stderr]    |
[INFO] [stderr] 95 |     let input = include_str!("../../data/02-04.txt").replace("\n", "");
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/02-04.txt: No such file or directory (os error 2)
[INFO] [stderr]    --> src/sets/set_02.rs:138:15
[INFO] [stderr]     |
[INFO] [stderr] 138 |   let input = include_str!("../../data/02-04.txt").replace("\n", "");
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/02-04.txt: No such file or directory (os error 2)
[INFO] [stderr]    --> src/sets/set_02.rs:180:17
[INFO] [stderr]     |
[INFO] [stderr] 180 |     let input = include_str!("../../data/02-04.txt").replace("\n", "");
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/02-04.txt: No such file or directory (os error 2)
[INFO] [stderr]    --> src/sets/set_02.rs:202:15
[INFO] [stderr]     |
[INFO] [stderr] 202 |   let input = include_str!("../../data/02-04.txt").replace("\n", "");
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/03-01.txt: No such file or directory (os error 2)
[INFO] [stderr]   --> src/sets/set_03.rs:12:30
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let plaintexts: Vec<_> = include_str!("../../data/03-01.txt").lines().collect();
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/03-20.txt: No such file or directory (os error 2)
[INFO] [stderr]    --> src/sets/set_03.rs:210:28
[INFO] [stderr]     |
[INFO] [stderr] 210 |   let plaintexts: Vec<_> = include_str!("../../data/03-20.txt")
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/03-21.txt: No such file or directory (os error 2)
[INFO] [stderr]    --> src/sets/set_03.rs:265:26
[INFO] [stderr]     |
[INFO] [stderr] 265 |   let output: Vec<u32> = include_str!("../../data/03-21.txt")
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/sets/../../data/04-25.txt: No such file or directory (os error 2)
[INFO] [stderr]   --> src/sets/set_04.rs:81:16
[INFO] [stderr]    |
[INFO] [stderr] 81 |     let text = include_str!("../../data/04-25.txt").replace("\n", "");
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stderr]    --> src/sets/set_03.rs:220:6
[INFO] [stderr]     |
[INFO] [stderr] 220 |     .flat_map(|line| ctr::crypt(line, &nonce, |block| encrypt_aes_128_block(block, &key)))
[INFO] [stderr]     |      ^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stderr]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr]     = note: required because of the requirements on the impl of `std::iter::Iterator` for `std::slice::Iter<'_, [u8]>`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stderr]    --> src/sets/set_03.rs:218:33
[INFO] [stderr]     |
[INFO] [stderr] 218 |     let mut ciphertexts: Vec<_> = plaintexts
[INFO] [stderr]     |  _________________________________^
[INFO] [stderr] 219 | |     .iter()
[INFO] [stderr] 220 | |     .flat_map(|line| ctr::crypt(line, &nonce, |block| encrypt_aes_128_block(block, &key)))
[INFO] [stderr]     | |__________________________________________________________________________________________^ doesn't have a size known at compile-time
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stderr]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr]     = note: required by `std::slice::Iter`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stderr]    --> src/sets/set_03.rs:219:6
[INFO] [stderr]     |
[INFO] [stderr] 219 |     .iter()
[INFO] [stderr]     |      ^^^^ doesn't have a size known at compile-time
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stderr]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stderr]    --> src/sets/set_03.rs:210:19
[INFO] [stderr]     |
[INFO] [stderr] 210 |   let plaintexts: Vec<_> = include_str!("../../data/03-20.txt")
[INFO] [stderr]     |                   ^^^^^^ doesn't have a size known at compile-time
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stderr]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr]     = note: required by `std::vec::Vec`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `collect` found for struct `std::iter::FlatMap<std::slice::Iter<'_, [u8]>, std::result::Result<std::vec::Vec<u8>, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>` in the current scope
[INFO] [stderr]     --> src/sets/set_03.rs:221:6
[INFO] [stderr]      |
[INFO] [stderr] 221  |       .collect();
[INFO] [stderr]      |        ^^^^^^^ method not found in `std::iter::FlatMap<std::slice::Iter<'_, [u8]>, std::result::Result<std::vec::Vec<u8>, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>`
[INFO] [stderr]      |
[INFO] [stderr]      = note: the method `collect` exists but the following trait bounds were not satisfied:
[INFO] [stderr]              `[u8]: std::marker::Sized`
[INFO] [stderr]              which is required by `std::iter::FlatMap<std::slice::Iter<'_, [u8]>, std::result::Result<std::vec::Vec<u8>, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>: std::iter::Iterator`
[INFO] [stderr]              `std::slice::Iter<'_, [u8]>: std::iter::Iterator`
[INFO] [stderr]              which is required by `std::iter::FlatMap<std::slice::Iter<'_, [u8]>, std::result::Result<std::vec::Vec<u8>, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>: std::iter::Iterator`
[INFO] [stderr]              `std::iter::FlatMap<std::slice::Iter<'_, [u8]>, std::result::Result<std::vec::Vec<u8>, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>: std::iter::Iterator`
[INFO] [stderr]              which is required by `&mut std::iter::FlatMap<std::slice::Iter<'_, [u8]>, std::result::Result<std::vec::Vec<u8>, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>: std::iter::Iterator`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stderr]    --> src/sets/set_03.rs:245:20
[INFO] [stderr]     |
[INFO] [stderr] 245 |   for (ciphertext, original) in ciphertexts.iter().zip(plaintexts) {
[INFO] [stderr]     |                    ^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stderr]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr]     = note: all local variables must have a statically known size
[INFO] [stderr]     = help: unsized locals are gated as an unstable feature
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stderr]    --> src/sets/set_03.rs:245:33
[INFO] [stderr]     |
[INFO] [stderr] 245 |   for (ciphertext, original) in ciphertexts.iter().zip(plaintexts) {
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stderr]     |
[INFO] [stderr]     = help: within `([type error], [u8])`, the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stderr]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr]     = note: required because it appears within the type `([type error], [u8])`
[INFO] [stderr]     = note: all local variables must have a statically known size
[INFO] [stderr]     = help: unsized locals are gated as an unstable feature
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stderr]    --> src/sets/set_03.rs:245:7
[INFO] [stderr]     |
[INFO] [stderr] 245 |   for (ciphertext, original) in ciphertexts.iter().zip(plaintexts) {
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stderr]     |
[INFO] [stderr]     = help: within `([type error], [u8])`, the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stderr]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr]     = note: required because it appears within the type `([type error], [u8])`
[INFO] [stderr]     = note: all local variables must have a statically known size
[INFO] [stderr]     = help: unsized locals are gated as an unstable feature
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stderr]    --> src/sets/set_03.rs:245:3
[INFO] [stderr]     |
[INFO] [stderr] 245 | /   for (ciphertext, original) in ciphertexts.iter().zip(plaintexts) {
[INFO] [stderr] 246 | |     let plaintext = ciphertext.xor(&keystream);
[INFO] [stderr] 247 | |
[INFO] [stderr] 248 | |     if let Ok(plaintext) = std::str::from_utf8(&plaintext) {
[INFO] [stderr] ...   |
[INFO] [stderr] 254 | |     }
[INFO] [stderr] 255 | |   }
[INFO] [stderr]     | |___^ doesn't have a size known at compile-time
[INFO] [stderr]     |
[INFO] [stderr]     = help: within `([type error], [u8])`, the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stderr]     = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stderr]     = note: required because it appears within the type `([type error], [u8])`
[INFO] [stderr]     = note: required by `std::prelude::v1::None`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::tools::xor`
[INFO] [stderr]    --> src/sets/set_03.rs:208:7
[INFO] [stderr]     |
[INFO] [stderr] 208 |   use crate::tools::xor::*;
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 23 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `cryptopals`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "d3db44dad9cc8eefe43dc2c5d5b4f5197a04da1aabb6b0c0e9223a8384e39bce"`
[INFO] running `"docker" "rm" "-f" "d3db44dad9cc8eefe43dc2c5d5b4f5197a04da1aabb6b0c0e9223a8384e39bce"`
[INFO] [stdout] d3db44dad9cc8eefe43dc2c5d5b4f5197a04da1aabb6b0c0e9223a8384e39bce
