[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] testing xfoxfu/rust-aes against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxfoxfu%2Frust-aes" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xfoxfu/rust-aes on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 869abc178334d1af78423dbf1a5a38997c57313a97217fb57a0b2965ba080d72 [INFO] running `Command { std: "docker" "start" "-a" "869abc178334d1af78423dbf1a5a38997c57313a97217fb57a0b2965ba080d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "869abc178334d1af78423dbf1a5a38997c57313a97217fb57a0b2965ba080d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869abc178334d1af78423dbf1a5a38997c57313a97217fb57a0b2965ba080d72", kill_on_drop: false }` [INFO] [stdout] 869abc178334d1af78423dbf1a5a38997c57313a97217fb57a0b2965ba080d72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 68f7f4b4ffb38719073800ab0c56ddc7980402785bb1b814f30251503a859e15 [INFO] running `Command { std: "docker" "start" "-a" "68f7f4b4ffb38719073800ab0c56ddc7980402785bb1b814f30251503a859e15", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling wide v0.7.11 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling 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] Compiling clap v3.2.25 [INFO] [stderr] Compiling nalgebra v0.32.3 [INFO] [stderr] Compiling 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] 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] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aes` (bin "aes") due to 53 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68f7f4b4ffb38719073800ab0c56ddc7980402785bb1b814f30251503a859e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f7f4b4ffb38719073800ab0c56ddc7980402785bb1b814f30251503a859e15", kill_on_drop: false }` [INFO] [stdout] 68f7f4b4ffb38719073800ab0c56ddc7980402785bb1b814f30251503a859e15