[INFO] fetching crate matmath 1.4.1... [INFO] checking matmath-1.4.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate matmath 1.4.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate matmath 1.4.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c0272238c752ba08fed72ca9243a27182e5f83c6986363963bfcb6034232e91 [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" "0c0272238c752ba08fed72ca9243a27182e5f83c6986363963bfcb6034232e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c0272238c752ba08fed72ca9243a27182e5f83c6986363963bfcb6034232e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0272238c752ba08fed72ca9243a27182e5f83c6986363963bfcb6034232e91", kill_on_drop: false }` [INFO] [stdout] 0c0272238c752ba08fed72ca9243a27182e5f83c6986363963bfcb6034232e91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3ea467a18bef2fccc1183867db3eb8d77cdfe4e44e2cd5b38b4ef34ebe9a06f [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" "d3ea467a18bef2fccc1183867db3eb8d77cdfe4e44e2cd5b38b4ef34ebe9a06f", 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]: the method `map` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | let m = v1.map(|x| 2 * x); [INFO] [stdout] | ^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: 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]: the method `zip` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let z = v2.zip(m); [INFO] [stdout] | ^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: 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]: the method `enumerate` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | let e = v3.enumerate(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: 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]: the method `sum` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let s = v5.sum(); [INFO] [stdout] | ^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d3ea467a18bef2fccc1183867db3eb8d77cdfe4e44e2cd5b38b4ef34ebe9a06f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ea467a18bef2fccc1183867db3eb8d77cdfe4e44e2cd5b38b4ef34ebe9a06f", kill_on_drop: false }` [INFO] [stdout] d3ea467a18bef2fccc1183867db3eb8d77cdfe4e44e2cd5b38b4ef34ebe9a06f