[INFO] fetching crate lager 0.2.0... [INFO] checking lager-0.2.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate lager 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate lager 0.2.0 [INFO] finished tweaking crates.io crate lager 0.2.0 [INFO] tweaked toml for crates.io crate lager 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lager 0.2.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lager 0.2.0 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8e91545aeecdd195394bcbbb4dcae1a40fa2be52e9544e963fba00cd8303ab5 [INFO] running `Command { std: "docker" "start" "-a" "a8e91545aeecdd195394bcbbb4dcae1a40fa2be52e9544e963fba00cd8303ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8e91545aeecdd195394bcbbb4dcae1a40fa2be52e9544e963fba00cd8303ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8e91545aeecdd195394bcbbb4dcae1a40fa2be52e9544e963fba00cd8303ab5", kill_on_drop: false }` [INFO] [stdout] a8e91545aeecdd195394bcbbb4dcae1a40fa2be52e9544e963fba00cd8303ab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9335197dbc82faf6edeeea5c87563a27d1d2c10992dbc0aa6163825f81bcb78a [INFO] running `Command { std: "docker" "start" "-a" "9335197dbc82faf6edeeea5c87563a27d1d2c10992dbc0aa6163825f81bcb78a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking lager v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.5.4 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 124 | bounds: [Range; 2], [INFO] [stdout] 125 | ) -> MatrixView { [INFO] [stdout] | ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 125 | ) -> MatrixView<'_, T, M, N, R, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> MatrixIter { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> MatrixIter<'_, T, M, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrixview.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(mtx: &Matrix, bounds: [Range; 2]) -> MatrixView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(mtx: &Matrix, bounds: [Range; 2]) -> MatrixView<'_, T, M, N, R, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrixview.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn iter(&self) -> MatrixViewIter { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn iter(&self) -> MatrixViewIter<'_, T, M, N, R, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/my_benchmark.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | a.mul(&b) [INFO] [stdout] | --- ^^ expected `Matrix`, found `&Matrix` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Matrix<_, _, _>` [INFO] [stdout] found reference `&Matrix<_, _, _>` [INFO] [stdout] help: the return type of this call is `&Matrix` due to the type of the argument passed [INFO] [stdout] --> benches/my_benchmark.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | a.mul(&b) [INFO] [stdout] | ^^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `mul` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/ops/arith.rs:338:8 [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 17 - a.mul(&b) [INFO] [stdout] 17 + a.mul(b) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lager` (bench "my_benchmark") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/matrix.rs:155:37 [INFO] [stdout] | [INFO] [stdout] 155 | let result: Matrix = mtx1.hstack(mtx2); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ expected `7`, found `lager::::{impl#0}::hstack::{constant#0}` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Matrix<_, _, 7>` [INFO] [stdout] found struct `Matrix<_, _, lager::::{impl#0}::hstack::{constant#0}>` [INFO] [stdout] help: call `Into::into` on this expression to convert `Matrix` into `Matrix` [INFO] [stdout] | [INFO] [stdout] 155 | let result: Matrix = mtx1.hstack(mtx2).into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/matrix.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | let result: Matrix = mtx1.vstack(mtx2); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ expected `7`, found `lager::::{impl#0}::vstack::{constant#0}` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Matrix<_, 7, _>` [INFO] [stdout] found struct `Matrix<_, lager::::{impl#0}::vstack::{constant#0}, _>` [INFO] [stdout] help: call `Into::into` on this expression to convert `Matrix` into `Matrix` [INFO] [stdout] | [INFO] [stdout] 171 | let result: Matrix = mtx1.vstack(mtx2).into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 124 | bounds: [Range; 2], [INFO] [stdout] 125 | ) -> MatrixView { [INFO] [stdout] | ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 125 | ) -> MatrixView<'_, T, M, N, R, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> MatrixIter { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iter(&self) -> MatrixIter<'_, T, M, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrixview.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(mtx: &Matrix, bounds: [Range; 2]) -> MatrixView { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(mtx: &Matrix, bounds: [Range; 2]) -> MatrixView<'_, T, M, N, R, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/matrixview.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn iter(&self) -> MatrixViewIter { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn iter(&self) -> MatrixViewIter<'_, T, M, N, R, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lager` (test "matrix") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9335197dbc82faf6edeeea5c87563a27d1d2c10992dbc0aa6163825f81bcb78a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9335197dbc82faf6edeeea5c87563a27d1d2c10992dbc0aa6163825f81bcb78a", kill_on_drop: false }` [INFO] [stdout] 9335197dbc82faf6edeeea5c87563a27d1d2c10992dbc0aa6163825f81bcb78a