[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellopatrick%2Fcryptopals.rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hellopatrick/cryptopals.rs 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 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-1/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.53 [INFO] [stderr] Downloaded openssl v0.10.26 [INFO] [stderr] Downloaded openssl-src v111.6.1+1.1.1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] e17c62d9595ff0b09aa517698b8a1b652e5c9e609136cdf5c9e06cf47348ebbf [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" "e17c62d9595ff0b09aa517698b8a1b652e5c9e609136cdf5c9e06cf47348ebbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e17c62d9595ff0b09aa517698b8a1b652e5c9e609136cdf5c9e06cf47348ebbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17c62d9595ff0b09aa517698b8a1b652e5c9e609136cdf5c9e06cf47348ebbf", kill_on_drop: false }` [INFO] [stdout] e17c62d9595ff0b09aa517698b8a1b652e5c9e609136cdf5c9e06cf47348ebbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 899320a80ee4699e32674024e1a5e5c6fdf3ef783be5e867edfc887bc691a502 [INFO] running `Command { std: "docker" "start" "-a" "899320a80ee4699e32674024e1a5e5c6fdf3ef783be5e867edfc887bc691a502", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling openssl-src v111.6.1+1.1.1d [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [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" "899320a80ee4699e32674024e1a5e5c6fdf3ef783be5e867edfc887bc691a502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899320a80ee4699e32674024e1a5e5c6fdf3ef783be5e867edfc887bc691a502", kill_on_drop: false }` [INFO] [stdout] 899320a80ee4699e32674024e1a5e5c6fdf3ef783be5e867edfc887bc691a502