[INFO] fetching crate sized_matrix 0.2.3... [INFO] checking sized_matrix-0.2.3 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate sized_matrix 0.2.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate sized_matrix 0.2.3 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sized_matrix 0.2.3 [INFO] finished tweaking crates.io crate sized_matrix 0.2.3 [INFO] tweaked toml for crates.io crate sized_matrix 0.2.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded higher_order_functions v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", 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] 81a0e1ba178d6ba5955ac00253a1ec699abc48e0b633a38f1939873ad6a236fa [INFO] running `Command { std: "docker" "start" "-a" "81a0e1ba178d6ba5955ac00253a1ec699abc48e0b633a38f1939873ad6a236fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81a0e1ba178d6ba5955ac00253a1ec699abc48e0b633a38f1939873ad6a236fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81a0e1ba178d6ba5955ac00253a1ec699abc48e0b633a38f1939873ad6a236fa", kill_on_drop: false }` [INFO] [stdout] 81a0e1ba178d6ba5955ac00253a1ec699abc48e0b633a38f1939873ad6a236fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] 6bee05fae629910b0e3a51de1162ae7a07252c053ad38fa896835e0be07d2035 [INFO] running `Command { std: "docker" "start" "-a" "6bee05fae629910b0e3a51de1162ae7a07252c053ad38fa896835e0be07d2035", kill_on_drop: false }` [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking higher_order_functions v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking pulldown-cmark v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking sized_matrix v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #44265 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/matrix.rs:297:106 [INFO] [stdout] | [INFO] [stdout] 297 | struct Cell<'a, T, const M: usize, const N: usize> { mat: &'a Matrix, row: usize, col: usize }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/matrix.rs:303:93 [INFO] [stdout] | [INFO] [stdout] 303 | struct Row<'a, T, const M: usize, const N: usize> { mat: &'a Matrix, row: usize }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for union `MaybeUninit` in the current scope [INFO] [stdout] --> src/traits.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 27 | contents[i][j].write(unsafe { consumed[j][i].read() }); [INFO] [stdout] | ^^^^ method not found in `MaybeUninit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/matrix.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | contents: vectors.map(|v| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `higher_order_functions::Map::map(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(array_map)]` to the crate attributes to enable `array::::map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/matrix.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | self.contents.map(|v| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `higher_order_functions::Map::map(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(array_map)]` to the crate attributes to enable `array::::map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/matrix.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | Matrix::new(self.contents.map(|col| col.map(|x| f(x)))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `higher_order_functions::Map::map(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(array_map)]` to the crate attributes to enable `array::::map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/matrix.rs:194:43 [INFO] [stdout] | [INFO] [stdout] 194 | Matrix::new(self.contents.map(|col| col.map(|x| f(x)))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `higher_order_functions::Map::map(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(array_map)]` to the crate attributes to enable `array::::map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/matrix.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | Matrix::new(self.contents.zip(rhs.contents, |a_col, b_col| a_col.zip(b_col, |a, b| f(a, b)))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `higher_order_functions::Zip::zip(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(array_zip)]` to the crate attributes to enable `array::::zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/matrix.rs:203:68 [INFO] [stdout] | [INFO] [stdout] 203 | Matrix::new(self.contents.zip(rhs.contents, |a_col, b_col| a_col.zip(b_col, |a, b| f(a, b)))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `higher_order_functions::Zip::zip(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(array_zip)]` to the crate attributes to enable `array::::zip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sized_matrix` [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" "6bee05fae629910b0e3a51de1162ae7a07252c053ad38fa896835e0be07d2035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bee05fae629910b0e3a51de1162ae7a07252c053ad38fa896835e0be07d2035", kill_on_drop: false }` [INFO] [stdout] 6bee05fae629910b0e3a51de1162ae7a07252c053ad38fa896835e0be07d2035