[INFO] cloning repository https://github.com/panzi/rust-matrix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panzi/rust-matrix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanzi%2Frust-matrix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanzi%2Frust-matrix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e9bff87648165c1e21e9b2f86be2c19ddf7a5ae [INFO] checking panzi/rust-matrix against master#27d8a577138c0d319a572cd1a464c2b755e577de for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanzi%2Frust-matrix" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panzi/rust-matrix on toolchain 27d8a577138c0d319a572cd1a464c2b755e577de [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+27d8a577138c0d319a572cd1a464c2b755e577de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/panzi/rust-matrix [INFO] finished tweaking git repo https://github.com/panzi/rust-matrix [INFO] tweaked toml for git repo https://github.com/panzi/rust-matrix written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/panzi/rust-matrix 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" "+27d8a577138c0d319a572cd1a464c2b755e577de" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+27d8a577138c0d319a572cd1a464c2b755e577de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0817971ee999456c70a314c710504d14f5b98f8f54a3c5e5e871e808eedf2c72 [INFO] running `Command { std: "docker" "start" "-a" "0817971ee999456c70a314c710504d14f5b98f8f54a3c5e5e871e808eedf2c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0817971ee999456c70a314c710504d14f5b98f8f54a3c5e5e871e808eedf2c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0817971ee999456c70a314c710504d14f5b98f8f54a3c5e5e871e808eedf2c72", kill_on_drop: false }` [INFO] [stdout] 0817971ee999456c70a314c710504d14f5b98f8f54a3c5e5e871e808eedf2c72 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+27d8a577138c0d319a572cd1a464c2b755e577de" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89182df808576c3cd5a9a982cf284b86cb2d1825b517f13880dd20cbbb0268ed [INFO] running `Command { std: "docker" "start" "-a" "89182df808576c3cd5a9a982cf284b86cb2d1825b517f13880dd20cbbb0268ed", kill_on_drop: false }` [INFO] [stderr] Checking matrix v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "89182df808576c3cd5a9a982cf284b86cb2d1825b517f13880dd20cbbb0268ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89182df808576c3cd5a9a982cf284b86cb2d1825b517f13880dd20cbbb0268ed", kill_on_drop: false }` [INFO] [stdout] 89182df808576c3cd5a9a982cf284b86cb2d1825b517f13880dd20cbbb0268ed [INFO] checking panzi/rust-matrix against try#8bdbfd41bed26c4938a9f14bd20556eac1de8437 for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanzi%2Frust-matrix" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panzi/rust-matrix on toolchain 8bdbfd41bed26c4938a9f14bd20556eac1de8437 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/panzi/rust-matrix [INFO] finished tweaking git repo https://github.com/panzi/rust-matrix [INFO] tweaked toml for git repo https://github.com/panzi/rust-matrix written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/panzi/rust-matrix 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" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 329673b704be3ad4e0a4642c47143f55ccfa0e353d77168c7db3a8669d62669a [INFO] running `Command { std: "docker" "start" "-a" "329673b704be3ad4e0a4642c47143f55ccfa0e353d77168c7db3a8669d62669a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "329673b704be3ad4e0a4642c47143f55ccfa0e353d77168c7db3a8669d62669a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329673b704be3ad4e0a4642c47143f55ccfa0e353d77168c7db3a8669d62669a", kill_on_drop: false }` [INFO] [stdout] 329673b704be3ad4e0a4642c47143f55ccfa0e353d77168c7db3a8669d62669a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba3c97ab16fb8a9b35899da922f25af96f70b15f1f60b54aff965fde9598a13e [INFO] running `Command { std: "docker" "start" "-a" "ba3c97ab16fb8a9b35899da922f25af96f70b15f1f60b54aff965fde9598a13e", kill_on_drop: false }` [INFO] [stderr] Checking matrix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/vector.rs:820:30 [INFO] [stdout] | [INFO] [stdout] 816 | impl<'a, const N: usize, T: Number> Sum<&'a Vector> for Vector [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 820 | if let Some(first) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 816 | impl<'a, const N: usize, T: Number + 'a> Sum<&'a Vector> for Vector [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/vector.rs:822:25 [INFO] [stdout] | [INFO] [stdout] 816 | impl<'a, const N: usize, T: Number> Sum<&'a Vector> for Vector [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 822 | for item in iter { [INFO] [stdout] | ^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 816 | impl<'a, const N: usize, T: Number + 'a> Sum<&'a Vector> for Vector [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/vector.rs:851:30 [INFO] [stdout] | [INFO] [stdout] 847 | impl<'a, const N: usize, T: Number> Product<&'a Vector> for Vector [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 851 | if let Some(first) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 847 | impl<'a, const N: usize, T: Number + 'a> Product<&'a Vector> for Vector [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/vector.rs:853:25 [INFO] [stdout] | [INFO] [stdout] 847 | impl<'a, const N: usize, T: Number> Product<&'a Vector> for Vector [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 853 | for item in iter { [INFO] [stdout] | ^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 847 | impl<'a, const N: usize, T: Number + 'a> Product<&'a Vector> for Vector [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/vector.rs:820:30 [INFO] [stdout] | [INFO] [stdout] 816 | impl<'a, const N: usize, T: Number> Sum<&'a Vector> for Vector [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 820 | if let Some(first) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 816 | impl<'a, const N: usize, T: Number + 'a> Sum<&'a Vector> for Vector [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/vector.rs:822:25 [INFO] [stdout] | [INFO] [stdout] 816 | impl<'a, const N: usize, T: Number> Sum<&'a Vector> for Vector [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 822 | for item in iter { [INFO] [stdout] | ^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 816 | impl<'a, const N: usize, T: Number + 'a> Sum<&'a Vector> for Vector [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/vector.rs:851:30 [INFO] [stdout] | [INFO] [stdout] 847 | impl<'a, const N: usize, T: Number> Product<&'a Vector> for Vector [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 851 | if let Some(first) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 847 | impl<'a, const N: usize, T: Number + 'a> Product<&'a Vector> for Vector [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/vector.rs:853:25 [INFO] [stdout] | [INFO] [stdout] 847 | impl<'a, const N: usize, T: Number> Product<&'a Vector> for Vector [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 853 | for item in iter { [INFO] [stdout] | ^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 847 | impl<'a, const N: usize, T: Number + 'a> Product<&'a Vector> for Vector [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/matrix.rs:1927:30 [INFO] [stdout] | [INFO] [stdout] 1923 | impl<'a, const X: usize, const Y: usize, T: Number> Sum<&'a Matrix> for Matrix [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 1927 | if let Some(first) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1923 | impl<'a, const X: usize, const Y: usize, T: Number + 'a> Sum<&'a Matrix> for Matrix [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/matrix.rs:1929:25 [INFO] [stdout] | [INFO] [stdout] 1923 | impl<'a, const X: usize, const Y: usize, T: Number> Sum<&'a Matrix> for Matrix [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 1929 | for item in iter { [INFO] [stdout] | ^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1923 | impl<'a, const X: usize, const Y: usize, T: Number + 'a> Sum<&'a Matrix> for Matrix [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/matrix.rs:1958:30 [INFO] [stdout] | [INFO] [stdout] 1954 | impl<'a, const X: usize, const Y: usize, T: Number> Product<&'a Matrix> for Matrix [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 1958 | if let Some(first) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1954 | impl<'a, const X: usize, const Y: usize, T: Number + 'a> Product<&'a Matrix> for Matrix [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/matrix.rs:1960:25 [INFO] [stdout] | [INFO] [stdout] 1954 | impl<'a, const X: usize, const Y: usize, T: Number> Product<&'a Matrix> for Matrix [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 1960 | for item in iter { [INFO] [stdout] | ^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1954 | impl<'a, const X: usize, const Y: usize, T: Number + 'a> Product<&'a Matrix> for Matrix [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/matrix.rs:1927:30 [INFO] [stdout] | [INFO] [stdout] 1923 | impl<'a, const X: usize, const Y: usize, T: Number> Sum<&'a Matrix> for Matrix [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 1927 | if let Some(first) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1923 | impl<'a, const X: usize, const Y: usize, T: Number + 'a> Sum<&'a Matrix> for Matrix [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/matrix.rs:1929:25 [INFO] [stdout] | [INFO] [stdout] 1923 | impl<'a, const X: usize, const Y: usize, T: Number> Sum<&'a Matrix> for Matrix [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 1929 | for item in iter { [INFO] [stdout] | ^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1923 | impl<'a, const X: usize, const Y: usize, T: Number + 'a> Sum<&'a Matrix> for Matrix [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/matrix.rs:1958:30 [INFO] [stdout] | [INFO] [stdout] 1954 | impl<'a, const X: usize, const Y: usize, T: Number> Product<&'a Matrix> for Matrix [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 1958 | if let Some(first) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1954 | impl<'a, const X: usize, const Y: usize, T: Number + 'a> Product<&'a Matrix> for Matrix [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/matrix.rs:1960:25 [INFO] [stdout] | [INFO] [stdout] 1954 | impl<'a, const X: usize, const Y: usize, T: Number> Product<&'a Matrix> for Matrix [INFO] [stdout] | -- the parameter type `T` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] ... [INFO] [stdout] 1960 | for item in iter { [INFO] [stdout] | ^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1954 | impl<'a, const X: usize, const Y: usize, T: Number + 'a> Product<&'a Matrix> for Matrix [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `matrix` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `matrix` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "ba3c97ab16fb8a9b35899da922f25af96f70b15f1f60b54aff965fde9598a13e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3c97ab16fb8a9b35899da922f25af96f70b15f1f60b54aff965fde9598a13e", kill_on_drop: false }` [INFO] [stdout] ba3c97ab16fb8a9b35899da922f25af96f70b15f1f60b54aff965fde9598a13e