[INFO] cloning repository https://github.com/xfoxfu/rust-aes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xfoxfu/rust-aes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfoxfu%2Frust-aes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfoxfu%2Frust-aes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b7026389f7d4e7e1d2d56b7ad047c6cf439fce7 [INFO] checking xfoxfu/rust-aes against master#5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea for pr-124336-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfoxfu%2Frust-aes" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xfoxfu/rust-aes on toolchain 5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/xfoxfu/rust-aes [INFO] finished tweaking git repo https://github.com/xfoxfu/rust-aes [INFO] tweaked toml for git repo https://github.com/xfoxfu/rust-aes written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xfoxfu/rust-aes already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termcolor v1.2.0 [INFO] [stderr] Downloaded os_str_bytes v6.5.1 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded clap_derive v3.2.25 [INFO] [stderr] Downloaded anyhow v1.0.72 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded nalgebra v0.32.3 [INFO] [stderr] Downloaded textwrap v0.16.0 [INFO] [stderr] Downloaded wide v0.7.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a15a7e0916da4d35900e754c064754d904ba5704ee4f47304d53f1ee387093f [INFO] running `Command { std: "docker" "start" "-a" "1a15a7e0916da4d35900e754c064754d904ba5704ee4f47304d53f1ee387093f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a15a7e0916da4d35900e754c064754d904ba5704ee4f47304d53f1ee387093f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a15a7e0916da4d35900e754c064754d904ba5704ee4f47304d53f1ee387093f", kill_on_drop: false }` [INFO] [stdout] 1a15a7e0916da4d35900e754c064754d904ba5704ee4f47304d53f1ee387093f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e50c6595274c530525d9b68d1e4f6924791e7566d26b03211cf7442e62331fc6 [INFO] running `Command { std: "docker" "start" "-a" "e50c6595274c530525d9b68d1e4f6924791e7566d26b03211cf7442e62331fc6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking wide v0.7.11 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking aes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/aes/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub use encrypt::{RijndaelCryptor, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `word_to_bytes` [INFO] [stdout] --> src/aes/mod.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | byte_to_word, matrix_to_words, rot_word, sub_word, word_to_bytes, words_to_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/aes/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub use encrypt::{RijndaelCryptor, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `word_to_bytes` [INFO] [stdout] --> src/aes/mod.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | byte_to_word, matrix_to_words, rot_word, sub_word, word_to_bytes, words_to_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.19s [INFO] running `Command { std: "docker" "inspect" "e50c6595274c530525d9b68d1e4f6924791e7566d26b03211cf7442e62331fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e50c6595274c530525d9b68d1e4f6924791e7566d26b03211cf7442e62331fc6", kill_on_drop: false }` [INFO] [stdout] e50c6595274c530525d9b68d1e4f6924791e7566d26b03211cf7442e62331fc6 [INFO] checking xfoxfu/rust-aes against try#311f8b6ca41358db8ae08490a9ca0916f11e9de3 for pr-124336-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfoxfu%2Frust-aes" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xfoxfu/rust-aes on toolchain 311f8b6ca41358db8ae08490a9ca0916f11e9de3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/xfoxfu/rust-aes [INFO] finished tweaking git repo https://github.com/xfoxfu/rust-aes [INFO] tweaked toml for git repo https://github.com/xfoxfu/rust-aes written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xfoxfu/rust-aes already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7980a986041ada0fb594cdc991f08270d5c19334653af5d0cdc7e6c7aabe9421 [INFO] running `Command { std: "docker" "start" "-a" "7980a986041ada0fb594cdc991f08270d5c19334653af5d0cdc7e6c7aabe9421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7980a986041ada0fb594cdc991f08270d5c19334653af5d0cdc7e6c7aabe9421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7980a986041ada0fb594cdc991f08270d5c19334653af5d0cdc7e6c7aabe9421", kill_on_drop: false }` [INFO] [stdout] 7980a986041ada0fb594cdc991f08270d5c19334653af5d0cdc7e6c7aabe9421 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62909026c191193e73cbd7de09a9a5dd6488c3418dcd5b1207eaf644e8dccbf8 [INFO] running `Command { std: "docker" "start" "-a" "62909026c191193e73cbd7de09a9a5dd6488c3418dcd5b1207eaf644e8dccbf8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking wide v0.7.11 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking aes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/aes/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub use encrypt::{RijndaelCryptor, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `word_to_bytes` [INFO] [stdout] --> src/aes/mod.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | byte_to_word, matrix_to_words, rot_word, sub_word, word_to_bytes, words_to_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/aes/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub use encrypt::{RijndaelCryptor, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `word_to_bytes` [INFO] [stdout] --> src/aes/mod.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | byte_to_word, matrix_to_words, rot_word, sub_word, word_to_bytes, words_to_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut keys = [SMatrix::zeros(); M::NR_KEY]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut keys = [SMatrix::zeros(); M::NR_KEY]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | for (i, mut row) in self.state.row_iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | for (i, mut row) in self.state.row_iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | for (i, mut row) in self.state.row_iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | for (j, cell) in row.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | for (j, cell) in row.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | for (j, cell) in row.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | *cell ^= key[(i, j)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | for mut row in self.state.row_iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | for mut row in self.state.row_iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | for cell in row.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | for cell in row.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | for mut row in self.state.row_iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | for mut row in self.state.row_iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | for cell in row.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | for cell in row.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let row_len = self.state.row(row_id).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let row_len = self.state.row(row_id).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | self.state.swap((row_id, i), (row_id, (i + 1) % row_len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | let row_len = self.state.row(row_id).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | let row_len = self.state.row(row_id).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | self.state.swap((row_id, i), (row_id, (i + 1) % row_len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | let s0 = self.state[(0, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | let s1 = self.state[(1, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | let s2 = self.state[(2, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let s3 = self.state[(3, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | self.state[(0, c)] = gm(0x02, s0) ^ gm(0x03, s1) ^ s2 ^ s3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | self.state[(1, c)] = s0 ^ gm(0x02, s1) ^ gm(0x03, s2) ^ s3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | self.state[(2, c)] = s0 ^ s1 ^ gm(0x02, s2) ^ gm(0x03, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | self.state[(3, c)] = gm(0x03, s0) ^ s1 ^ s2 ^ gm(0x02, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let s0 = self.state[(0, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | let s1 = self.state[(1, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | let s2 = self.state[(2, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | let s3 = self.state[(3, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | self.state[(0, c)] = gm(0x0e, s0) ^ gm(0x0b, s1) ^ gm(0x0d, s2) ^ gm(0x09, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | self.state[(1, c)] = gm(0x09, s0) ^ gm(0x0e, s1) ^ gm(0x0b, s2) ^ gm(0x0d, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | self.state[(2, c)] = gm(0x0d, s0) ^ gm(0x09, s1) ^ gm(0x0e, s2) ^ gm(0x0b, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | self.state[(3, c)] = gm(0x0b, s0) ^ gm(0x0d, s1) ^ gm(0x09, s2) ^ gm(0x0e, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | for col in 0..self.state.column_iter().len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | for col in 0..self.state.column_iter().len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | for col in 0..self.state.column_iter().len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | for col in 0..self.state.column_iter().len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut state = State::::zeros(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut state = State::::zeros(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | state[(0, i)] = b0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | state[(1, i)] = b1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | state[(2, i)] = b2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | state[(3, i)] = b3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 83 | output[i] = byte_to_word(&[state[(0, i)], state[(1, i)], state[(2, i)], state[(3, i)]]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 80 | pub fn matrix_to_words(state: &State) -> [u32; M::NB_WORDS] { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:83:56 [INFO] [stdout] | [INFO] [stdout] 83 | output[i] = byte_to_word(&[state[(0, i)], state[(1, i)], state[(2, i)], state[(3, i)]]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 80 | pub fn matrix_to_words(state: &State) -> [u32; M::NB_WORDS] { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:83:71 [INFO] [stdout] | [INFO] [stdout] 83 | output[i] = byte_to_word(&[state[(0, i)], state[(1, i)], state[(2, i)], state[(3, i)]]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 80 | pub fn matrix_to_words(state: &State) -> [u32; M::NB_WORDS] { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:83:86 [INFO] [stdout] | [INFO] [stdout] 83 | output[i] = byte_to_word(&[state[(0, i)], state[(1, i)], state[(2, i)], state[(3, i)]]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 80 | pub fn matrix_to_words(state: &State) -> [u32; M::NB_WORDS] { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 53 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut keys = [SMatrix::zeros(); M::NR_KEY]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut keys = [SMatrix::zeros(); M::NR_KEY]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aes` (bin "aes") due to 54 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | for (i, mut row) in self.state.row_iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | for (i, mut row) in self.state.row_iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | for (i, mut row) in self.state.row_iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | for (j, cell) in row.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | for (j, cell) in row.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | for (j, cell) in row.iter_mut().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | *cell ^= key[(i, j)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | for mut row in self.state.row_iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | for mut row in self.state.row_iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | for cell in row.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | for cell in row.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | for mut row in self.state.row_iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | for mut row in self.state.row_iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | for cell in row.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | for cell in row.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let row_len = self.state.row(row_id).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | let row_len = self.state.row(row_id).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | self.state.swap((row_id, i), (row_id, (i + 1) % row_len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | let row_len = self.state.row(row_id).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | let row_len = self.state.row(row_id).len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | self.state.swap((row_id, i), (row_id, (i + 1) % row_len)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | let s0 = self.state[(0, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | let s1 = self.state[(1, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | let s2 = self.state[(2, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let s3 = self.state[(3, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | self.state[(0, c)] = gm(0x02, s0) ^ gm(0x03, s1) ^ s2 ^ s3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | self.state[(1, c)] = s0 ^ gm(0x02, s1) ^ gm(0x03, s2) ^ s3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | self.state[(2, c)] = s0 ^ s1 ^ gm(0x02, s2) ^ gm(0x03, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:166:19 [INFO] [stdout] | [INFO] [stdout] 166 | self.state[(3, c)] = gm(0x03, s0) ^ s1 ^ s2 ^ gm(0x02, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let s0 = self.state[(0, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | let s1 = self.state[(1, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | let s2 = self.state[(2, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | let s3 = self.state[(3, c)]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | self.state[(0, c)] = gm(0x0e, s0) ^ gm(0x0b, s1) ^ gm(0x0d, s2) ^ gm(0x09, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | self.state[(1, c)] = gm(0x09, s0) ^ gm(0x0e, s1) ^ gm(0x0b, s2) ^ gm(0x0d, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | self.state[(2, c)] = gm(0x0d, s0) ^ gm(0x09, s1) ^ gm(0x0e, s2) ^ gm(0x0b, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | self.state[(3, c)] = gm(0x0b, s0) ^ gm(0x0d, s1) ^ gm(0x09, s2) ^ gm(0x0e, s3); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | for col in 0..self.state.column_iter().len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | for col in 0..self.state.column_iter().len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | for col in 0..self.state.column_iter().len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/encrypt.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | for col in 0..self.state.column_iter().len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 41 | impl RijndaelCryptor [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut state = State::::zeros(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut state = State::::zeros(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | state[(0, i)] = b0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | state[(1, i)] = b1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | state[(2, i)] = b2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | state[(3, i)] = b3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 53 | pub fn words_to_matrix(input: &[u32; M::NB_WORDS]) -> State { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 83 | output[i] = byte_to_word(&[state[(0, i)], state[(1, i)], state[(2, i)], state[(3, i)]]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 80 | pub fn matrix_to_words(state: &State) -> [u32; M::NB_WORDS] { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:83:56 [INFO] [stdout] | [INFO] [stdout] 83 | output[i] = byte_to_word(&[state[(0, i)], state[(1, i)], state[(2, i)], state[(3, i)]]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 80 | pub fn matrix_to_words(state: &State) -> [u32; M::NB_WORDS] { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:83:71 [INFO] [stdout] | [INFO] [stdout] 83 | output[i] = byte_to_word(&[state[(0, i)], state[(1, i)], state[(2, i)], state[(3, i)]]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 80 | pub fn matrix_to_words(state: &State) -> [u32; M::NB_WORDS] { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `M` may not live long enough [INFO] [stdout] --> src/aes/converter.rs:83:86 [INFO] [stdout] | [INFO] [stdout] 83 | output[i] = byte_to_word(&[state[(0, i)], state[(1, i)], state[(2, i)], state[(3, i)]]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `M` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `M` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 80 | pub fn matrix_to_words(state: &State) -> [u32; M::NB_WORDS] { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 53 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aes` (bin "aes" test) due to 54 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "62909026c191193e73cbd7de09a9a5dd6488c3418dcd5b1207eaf644e8dccbf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62909026c191193e73cbd7de09a9a5dd6488c3418dcd5b1207eaf644e8dccbf8", kill_on_drop: false }` [INFO] [stdout] 62909026c191193e73cbd7de09a9a5dd6488c3418dcd5b1207eaf644e8dccbf8