[INFO] crate matmath 1.4.1 is already in cache [INFO] extracting crate matmath 1.4.1 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/matmath/1.4.1 [INFO] extracting crate matmath 1.4.1 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/matmath/1.4.1 [INFO] validating manifest of matmath-1.4.1 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of matmath-1.4.1 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing matmath-1.4.1 [INFO] finished frobbing matmath-1.4.1 [INFO] frobbed toml for matmath-1.4.1 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/matmath/1.4.1/Cargo.toml [INFO] started frobbing matmath-1.4.1 [INFO] finished frobbing matmath-1.4.1 [INFO] frobbed toml for matmath-1.4.1 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/matmath/1.4.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking matmath-1.4.1 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-4/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/matmath/1.4.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 06cc414fb829115c9d6f12e66734c94947d96b488dc3eeec10d6fd6be13e1786 [INFO] running `"docker" "start" "-a" "06cc414fb829115c9d6f12e66734c94947d96b488dc3eeec10d6fd6be13e1786"` [INFO] [stderr] Checking matmath v1.4.1 (/opt/crater/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | / assert_eq!( [INFO] [stderr] 24 | | mat1, [INFO] [stderr] 25 | | Matrix::from_vec(3, 3, vec![1, 0, 0, 0, 1, 0, 0, 0, 1]) [INFO] [stderr] 26 | | ); [INFO] [stderr] | |__________^ expected struct `matrix::Matrix`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `matrix::Matrix` [INFO] [stderr] found type `std::option::Option>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | assert_eq!(r, Err("index out of bounds".to_string())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `matrix_helper::IndexOutOfBounds`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::result::Result<(), matrix_helper::IndexOutOfBounds<(usize, usize)>>` [INFO] [stderr] found type `std::result::Result<_, std::string::String>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | assert_eq!(mat4, Matrix::from_vec(2, 3, vec![1, 0, 0, 0, 1, 0])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `matrix::Matrix`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `matrix::Matrix` [INFO] [stderr] found type `std::option::Option>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:42:50 [INFO] [stderr] | [INFO] [stderr] 42 | let sub11 = matrix_helper::det_sumbatrix(mat5, 0, 1); [INFO] [stderr] | ^^^^ expected reference, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&matrix::Matrix<_>` [INFO] [stderr] found type `std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | assert_eq!(sub11, Matrix::::from_vec(2, 2, vec![3, 5, 6, 8])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `matrix::Matrix`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `matrix::Matrix<&_>` [INFO] [stderr] found type `std::option::Option>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | assert_eq!(-mat6, Matrix::::from_vec(2, 2, vec![-1, 0, 0, -1])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `matrix::Matrix`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `matrix::Matrix<_>` [INFO] [stderr] found type `std::option::Option>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | assert_eq!(m, Matrix::from_vec(3, 1, vec![0, 1, 2])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `matrix::Matrix`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `matrix::Matrix<{integer}>` [INFO] [stderr] found type `std::option::Option>` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `*` cannot be applied to type `std::option::Option>` [INFO] [stderr] --> src/lib.rs:61:24 [INFO] [stderr] | [INFO] [stderr] 61 | let mul = mat3 * vec3; [INFO] [stderr] | ---- ^ ---- vector::Vector<{integer}> [INFO] [stderr] | | [INFO] [stderr] | std::option::Option> [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Mul` might be missing for `std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/lib.rs:73:20 [INFO] [stderr] | [INFO] [stderr] 73 | let m = v1.map(|x| 2 * x); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `map` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut [usize] : std::iter::Iterator` [INFO] [stderr] `&mut std::vec::Vec : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `zip` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/lib.rs:78:20 [INFO] [stderr] | [INFO] [stderr] 78 | let z = v2.zip(m); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `zip` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut [usize] : std::iter::Iterator` [INFO] [stderr] `&mut std::vec::Vec : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `enumerate` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/lib.rs:83:20 [INFO] [stderr] | [INFO] [stderr] 83 | let e = v3.enumerate(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `enumerate` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut [usize] : std::iter::Iterator` [INFO] [stderr] `&mut std::vec::Vec : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `reversed` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/lib.rs:88:20 [INFO] [stderr] | [INFO] [stderr] 88 | let r = v4.reversed(); [INFO] [stderr] | ^^^^^^^^ help: there is a method with a similar name: `reverse` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sum` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/lib.rs:93:20 [INFO] [stderr] | [INFO] [stderr] 93 | let s = v5.sum(); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `sum` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut [usize] : std::iter::Iterator` [INFO] [stderr] `&mut std::vec::Vec : std::iter::Iterator` [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0369, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `matmath`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "06cc414fb829115c9d6f12e66734c94947d96b488dc3eeec10d6fd6be13e1786"` [INFO] running `"docker" "rm" "-f" "06cc414fb829115c9d6f12e66734c94947d96b488dc3eeec10d6fd6be13e1786"` [INFO] [stdout] 06cc414fb829115c9d6f12e66734c94947d96b488dc3eeec10d6fd6be13e1786