[INFO] cloning repository https://github.com/dikotl/paal2-lab2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dikotl/paal2-lab2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdikotl%2Fpaal2-lab2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdikotl%2Fpaal2-lab2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dc735e3d08265675da086747bde95d692adced9 [INFO] checking dikotl/paal2-lab2 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdikotl%2Fpaal2-lab2" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dikotl/paal2-lab2 [INFO] finished tweaking git repo https://github.com/dikotl/paal2-lab2 [INFO] tweaked toml for git repo https://github.com/dikotl/paal2-lab2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dikotl/paal2-lab2 on toolchain 82310651b93a594a3fd69015e1562186a080d94c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dikotl/paal2-lab2 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" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.15.0 [INFO] [stderr] Downloaded itertools v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a58b01d70d98b10325d16cddfddc078e98f914b3a366966d574429a5705e0ad [INFO] running `Command { std: "docker" "start" "-a" "0a58b01d70d98b10325d16cddfddc078e98f914b3a366966d574429a5705e0ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a58b01d70d98b10325d16cddfddc078e98f914b3a366966d574429a5705e0ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a58b01d70d98b10325d16cddfddc078e98f914b3a366966d574429a5705e0ad", kill_on_drop: false }` [INFO] [stdout] 0a58b01d70d98b10325d16cddfddc078e98f914b3a366966d574429a5705e0ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d829fee650137b09092fb4f5025d7e47c5ee1a42ae3296acd1b27b4c8744fd4 [INFO] running `Command { std: "docker" "start" "-a" "4d829fee650137b09092fb4f5025d7e47c5ee1a42ae3296acd1b27b4c8744fd4", kill_on_drop: false }` [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking paal2-lab2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter_rows(&self) -> slice::Iter> { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter_rows(&self) -> slice::Iter<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter_rows(&self) -> slice::Iter> { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn iter_rows(&self) -> slice::Iter<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_rows_mut(&mut self) -> slice::IterMut> { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_rows_mut(&mut self) -> slice::IterMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_rows_mut(&mut self) -> slice::IterMut> { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter_rows_mut(&mut self) -> slice::IterMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn iter_elements(&self) -> Flatten>> { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn iter_elements(&self) -> Flatten>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter_elements_mut(&mut self) -> Flatten>> { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter_elements_mut(&mut self) -> Flatten>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn iter_elements(&self) -> Flatten>> { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn iter_elements(&self) -> Flatten>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn iter_diagonal(&self, primary: bool) -> MatrixDiagonalIter { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn iter_diagonal(&self, primary: bool) -> MatrixDiagonalIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter_elements_mut(&mut self) -> Flatten>> { [INFO] [stdout] | ^^^^^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter_elements_mut(&mut self) -> Flatten>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn iter_diagonal_mut(&mut self, primary: bool) -> MatrixDiagonalIterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn iter_diagonal_mut(&mut self, primary: bool) -> MatrixDiagonalIterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn iter_columns(&mut self) -> MatrixColumnsIter { [INFO] [stdout] | ^^^^^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn iter_columns(&mut self) -> MatrixColumnsIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn iter_diagonal(&self, primary: bool) -> MatrixDiagonalIter { [INFO] [stdout] | ^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn iter_diagonal(&self, primary: bool) -> MatrixDiagonalIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter_columns_mut(&mut self) -> MatrixColumnsIterMut { [INFO] [stdout] | ^^^^^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter_columns_mut(&mut self) -> MatrixColumnsIterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn iter_diagonal_mut(&mut self, primary: bool) -> MatrixDiagonalIterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn iter_diagonal_mut(&mut self, primary: bool) -> MatrixDiagonalIterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/matrix.rs:332:33 [INFO] [stdout] | [INFO] [stdout] 332 | let item = unsafe { (*row).get_mut(self.column) }; [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [T]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [T]` [INFO] [stdout] --> src/matrix.rs:332:33 [INFO] [stdout] | [INFO] [stdout] 332 | let item = unsafe { (*row).get_mut(self.column) }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: method calls to `get_mut` require a reference [INFO] [stdout] --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/slice/mod.rs:599:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 332 | let item = unsafe { (&mut (*row)).get_mut(self.column) }; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn iter_columns(&mut self) -> MatrixColumnsIter { [INFO] [stdout] | ^^^^^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn iter_columns(&mut self) -> MatrixColumnsIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matrix.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter_columns_mut(&mut self) -> MatrixColumnsIterMut { [INFO] [stdout] | ^^^^^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn iter_columns_mut(&mut self) -> MatrixColumnsIterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/matrix.rs:332:33 [INFO] [stdout] | [INFO] [stdout] 332 | let item = unsafe { (*row).get_mut(self.column) }; [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [T]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [T]` [INFO] [stdout] --> src/matrix.rs:332:33 [INFO] [stdout] | [INFO] [stdout] 332 | let item = unsafe { (*row).get_mut(self.column) }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: method calls to `get_mut` require a reference [INFO] [stdout] --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/slice/mod.rs:599:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 332 | let item = unsafe { (&mut (*row)).get_mut(self.column) }; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `paal2-lab2` (bin "paal2-lab2" test) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `paal2-lab2` (bin "paal2-lab2") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4d829fee650137b09092fb4f5025d7e47c5ee1a42ae3296acd1b27b4c8744fd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d829fee650137b09092fb4f5025d7e47c5ee1a42ae3296acd1b27b4c8744fd4", kill_on_drop: false }` [INFO] [stdout] 4d829fee650137b09092fb4f5025d7e47c5ee1a42ae3296acd1b27b4c8744fd4