[INFO] fetching crate matmath 1.4.1... [INFO] checking matmath-1.4.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate matmath 1.4.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate matmath 1.4.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate matmath 1.4.1 [INFO] finished tweaking crates.io crate matmath 1.4.1 [INFO] tweaked toml for crates.io crate matmath 1.4.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f12134935277050cd5baecfaec7c17478a2904e798b24c0589d71566a12e5cb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f12134935277050cd5baecfaec7c17478a2904e798b24c0589d71566a12e5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f12134935277050cd5baecfaec7c17478a2904e798b24c0589d71566a12e5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f12134935277050cd5baecfaec7c17478a2904e798b24c0589d71566a12e5cb", kill_on_drop: false }` [INFO] [stdout] 9f12134935277050cd5baecfaec7c17478a2904e798b24c0589d71566a12e5cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d175669fc4779cca7fb2f07b1f00f3d3e07b64a667334bfd8bfc27bfe2a80bf6 [INFO] running `Command { std: "docker" "start" "-a" "d175669fc4779cca7fb2f07b1f00f3d3e07b64a667334bfd8bfc27bfe2a80bf6", kill_on_drop: false }` [INFO] [stderr] Checking matmath v1.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / assert_eq!( [INFO] [stdout] 24 | | mat1, [INFO] [stdout] 25 | | Matrix::from_vec(3, 3, vec![1, 0, 0, 0, 1, 0, 0, 0, 1]) [INFO] [stdout] 26 | | ); [INFO] [stdout] | |__________^ expected struct `matrix::Matrix`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `matrix::Matrix` [INFO] [stdout] found enum `Option>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(r, Err("index out of bounds".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `IndexOutOfBounds`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), IndexOutOfBounds<(usize, usize)>>` [INFO] [stdout] found enum `std::result::Result<_, String>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(mat4, Matrix::from_vec(2, 3, vec![1, 0, 0, 0, 1, 0])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `matrix::Matrix`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `matrix::Matrix` [INFO] [stdout] found enum `Option>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | let sub11 = matrix_helper::det_sumbatrix(mat5, 0, 1); [INFO] [stdout] | ^^^^ expected reference, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&matrix::Matrix<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(sub11, Matrix::::from_vec(2, 2, vec![3, 5, 6, 8])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `matrix::Matrix`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `matrix::Matrix<&_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(-mat6, Matrix::::from_vec(2, 2, vec![-1, 0, 0, -1])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `matrix::Matrix`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `matrix::Matrix<_>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(m, Matrix::from_vec(3, 1, vec![0, 1, 2])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `matrix::Matrix`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `matrix::Matrix<{integer}>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Option>` by `vector::Vector<{integer}>` [INFO] [stdout] --> src/lib.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | let mul = mat3 * vec3; [INFO] [stdout] | ---- ^ ---- vector::Vector<{integer}> [INFO] [stdout] | | [INFO] [stdout] | Option> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | let m = v1.map(|x| 2 * x); [INFO] [stdout] | ^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Vec: Iterator` [INFO] [stdout] which is required by `&mut Vec: Iterator` [INFO] [stdout] `[usize]: Iterator` [INFO] [stdout] which is required by `&mut [usize]: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `zip` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let z = v2.zip(m); [INFO] [stdout] | ^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method `zip` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Vec: Iterator` [INFO] [stdout] which is required by `&mut Vec: Iterator` [INFO] [stdout] `[usize]: Iterator` [INFO] [stdout] which is required by `&mut [usize]: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `enumerate` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | let e = v3.enumerate(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method `enumerate` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Vec: Iterator` [INFO] [stdout] which is required by `&mut Vec: Iterator` [INFO] [stdout] `[usize]: Iterator` [INFO] [stdout] which is required by `&mut [usize]: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reversed` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | let r = v4.reversed(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `reverse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sum` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let s = v5.sum(); [INFO] [stdout] | ^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method `sum` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Vec: Iterator` [INFO] [stdout] which is required by `&mut Vec: Iterator` [INFO] [stdout] `[usize]: Iterator` [INFO] [stdout] which is required by `&mut [usize]: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `matmath` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d175669fc4779cca7fb2f07b1f00f3d3e07b64a667334bfd8bfc27bfe2a80bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d175669fc4779cca7fb2f07b1f00f3d3e07b64a667334bfd8bfc27bfe2a80bf6", kill_on_drop: false }` [INFO] [stdout] d175669fc4779cca7fb2f07b1f00f3d3e07b64a667334bfd8bfc27bfe2a80bf6