[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 341322dd95e25211870719d9e0c188dc1f57bfe0 [INFO] testing hellopatrick/cryptopals.rs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fcryptopals.rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hellopatrick/cryptopals.rs on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-12/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e873da8c27c0e75dabf98e6ad65eaa5de146fba6586409f930ce3823b0dc777f [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" "e873da8c27c0e75dabf98e6ad65eaa5de146fba6586409f930ce3823b0dc777f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e873da8c27c0e75dabf98e6ad65eaa5de146fba6586409f930ce3823b0dc777f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e873da8c27c0e75dabf98e6ad65eaa5de146fba6586409f930ce3823b0dc777f", kill_on_drop: false }` [INFO] [stdout] e873da8c27c0e75dabf98e6ad65eaa5de146fba6586409f930ce3823b0dc777f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--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] 4bdcab883f8c24778cbe5e839fd1ae017dd8d81fce5588d1aa91a8b2713da5b8 [INFO] running `Command { std: "docker" "start" "-a" "4bdcab883f8c24778cbe5e839fd1ae017dd8d81fce5588d1aa91a8b2713da5b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling openssl-src v111.6.1+1.1.1d [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "4bdcab883f8c24778cbe5e839fd1ae017dd8d81fce5588d1aa91a8b2713da5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bdcab883f8c24778cbe5e839fd1ae017dd8d81fce5588d1aa91a8b2713da5b8", kill_on_drop: false }` [INFO] [stdout] 4bdcab883f8c24778cbe5e839fd1ae017dd8d81fce5588d1aa91a8b2713da5b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa2e08f40e87322062440bed2b784968e3f1767b92b6bdc0e81cee28a4d272e2 [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" "aa2e08f40e87322062440bed2b784968e3f1767b92b6bdc0e81cee28a4d272e2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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 `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required because of the requirements on the impl of `std::iter::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 `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [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 `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [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 `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `collect` found for struct `std::iter::FlatMap, std::result::Result, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>` 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 `std::iter::FlatMap, std::result::Result, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>` [INFO] [stdout] | [INFO] [stdout] = note: the method `collect` exists but the following trait bounds were not satisfied: [INFO] [stdout] `[u8]: std::marker::Sized` [INFO] [stdout] which is required by `std::iter::FlatMap, std::result::Result, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>: std::iter::Iterator` [INFO] [stdout] `std::slice::Iter<'_, [u8]>: std::iter::Iterator` [INFO] [stdout] which is required by `std::iter::FlatMap, std::result::Result, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>: std::iter::Iterator` [INFO] [stdout] `std::iter::FlatMap, std::result::Result, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>: std::iter::Iterator` [INFO] [stdout] which is required by `&mut std::iter::FlatMap, std::result::Result, ciphers::result::EncryptionError>, [closure@src/sets/set_03.rs:220:15: 220:90 nonce:_, key:_]>: std::iter::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 `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [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 `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [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 `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [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:3 [INFO] [stdout] | [INFO] [stdout] 245 | / for (ciphertext, original) in ciphertexts.iter().zip(plaintexts) { [INFO] [stdout] 246 | | let plaintext = ciphertext.xor(&keystream); [INFO] [stdout] 247 | | [INFO] [stdout] 248 | | if let Ok(plaintext) = std::str::from_utf8(&plaintext) { [INFO] [stdout] ... | [INFO] [stdout] 254 | | } [INFO] [stdout] 255 | | } [INFO] [stdout] | |___^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `([type error], [u8])`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required because it appears within the type `([type error], [u8])` [INFO] [stdout] = note: required by `std::prelude::v1::None` [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 23 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" "aa2e08f40e87322062440bed2b784968e3f1767b92b6bdc0e81cee28a4d272e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa2e08f40e87322062440bed2b784968e3f1767b92b6bdc0e81cee28a4d272e2", kill_on_drop: false }` [INFO] [stdout] aa2e08f40e87322062440bed2b784968e3f1767b92b6bdc0e81cee28a4d272e2