[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 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfoxfu%2Frust-aes" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-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-0-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 quote v1.0.32 [INFO] [stderr] Downloaded nalgebra-macros v0.2.1 [INFO] [stderr] Downloaded safe_arch v0.7.1 [INFO] [stderr] Downloaded anyhow v1.0.72 [INFO] [stderr] Downloaded simba v0.8.1 [INFO] [stderr] Downloaded wide v0.7.11 [INFO] [stderr] Downloaded nalgebra v0.32.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1d2c676366cdb94fc969afa29680c305f784b1b1a47ca3702de4edca6df8ea6 [INFO] running `Command { std: "docker" "start" "-a" "c1d2c676366cdb94fc969afa29680c305f784b1b1a47ca3702de4edca6df8ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1d2c676366cdb94fc969afa29680c305f784b1b1a47ca3702de4edca6df8ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d2c676366cdb94fc969afa29680c305f784b1b1a47ca3702de4edca6df8ea6", kill_on_drop: false }` [INFO] [stdout] c1d2c676366cdb94fc969afa29680c305f784b1b1a47ca3702de4edca6df8ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18ae585f02c32ffb5a5dc24268869abe01b54c20d9f1cbb8a9b98ad3fd4a17ee [INFO] running `Command { std: "docker" "start" "-a" "18ae585f02c32ffb5a5dc24268869abe01b54c20d9f1cbb8a9b98ad3fd4a17ee", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking wide v0.7.11 [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 proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [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 8.96s [INFO] running `Command { std: "docker" "inspect" "18ae585f02c32ffb5a5dc24268869abe01b54c20d9f1cbb8a9b98ad3fd4a17ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ae585f02c32ffb5a5dc24268869abe01b54c20d9f1cbb8a9b98ad3fd4a17ee", kill_on_drop: false }` [INFO] [stdout] 18ae585f02c32ffb5a5dc24268869abe01b54c20d9f1cbb8a9b98ad3fd4a17ee [INFO] checking xfoxfu/rust-aes against try#311f8b6ca41358db8ae08490a9ca0916f11e9de3 for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfoxfu%2Frust-aes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-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-0-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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1d726575a1b7dddc810a1519d4cac5bd013c4e740b05e889d609575f3dd0971 [INFO] running `Command { std: "docker" "start" "-a" "d1d726575a1b7dddc810a1519d4cac5bd013c4e740b05e889d609575f3dd0971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1d726575a1b7dddc810a1519d4cac5bd013c4e740b05e889d609575f3dd0971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d726575a1b7dddc810a1519d4cac5bd013c4e740b05e889d609575f3dd0971", kill_on_drop: false }` [INFO] [stdout] d1d726575a1b7dddc810a1519d4cac5bd013c4e740b05e889d609575f3dd0971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6585ce14715d3fe2a9d00ebd6be95f367e0031ac8dddbb2694125b7b93b329fc [INFO] running `Command { std: "docker" "start" "-a" "6585ce14715d3fe2a9d00ebd6be95f367e0031ac8dddbb2694125b7b93b329fc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking wide v0.7.11 [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 proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [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] [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: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] [stderr] error: could not compile `aes` (bin "aes" test) due to 54 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6585ce14715d3fe2a9d00ebd6be95f367e0031ac8dddbb2694125b7b93b329fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6585ce14715d3fe2a9d00ebd6be95f367e0031ac8dddbb2694125b7b93b329fc", kill_on_drop: false }` [INFO] [stdout] 6585ce14715d3fe2a9d00ebd6be95f367e0031ac8dddbb2694125b7b93b329fc