[INFO] cloning repository https://github.com/dev-gm/matrices [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dev-gm/matrices" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdev-gm%2Fmatrices", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdev-gm%2Fmatrices'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0c3b4ae8adf90a75711055d3c3fe6f88a050975 [INFO] testing dev-gm/matrices against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdev-gm%2Fmatrices" "/workspace/builds/worker-88/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-88/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dev-gm/matrices on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dev-gm/matrices [INFO] finished tweaking git repo https://github.com/dev-gm/matrices [INFO] tweaked toml for git repo https://github.com/dev-gm/matrices written to /workspace/builds/worker-88/source/Cargo.toml [INFO] crate git repo https://github.com/dev-gm/matrices already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b19a975aec6d9b8d6928b88c3e142c9aecc06e5c967418e841ef7e68b6143027 [INFO] running `Command { std: "docker" "start" "-a" "b19a975aec6d9b8d6928b88c3e142c9aecc06e5c967418e841ef7e68b6143027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b19a975aec6d9b8d6928b88c3e142c9aecc06e5c967418e841ef7e68b6143027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b19a975aec6d9b8d6928b88c3e142c9aecc06e5c967418e841ef7e68b6143027", kill_on_drop: false }` [INFO] [stdout] b19a975aec6d9b8d6928b88c3e142c9aecc06e5c967418e841ef7e68b6143027 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ae39b183b7aca4a92bd50be194d91583d00322947231a4db954a3ed2fda57a5 [INFO] running `Command { std: "docker" "start" "-a" "1ae39b183b7aca4a92bd50be194d91583d00322947231a4db954a3ed2fda57a5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling math v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `{`, found `}` [INFO] [stdout] --> src/matrix.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | } [INFO] [stdout] | ^ expected `{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/group.rs:11:64 [INFO] [stdout] | [INFO] [stdout] 11 | fn identity(&self, key: OperationType) -> Option> [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 12 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/matrix.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_into_inner)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `zero` has an incompatible type for trait [INFO] [stdout] --> src/matrix.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | fn zero(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Matrix`, found struct `Box` [INFO] [stdout] | help: change the output type to match the trait: `Matrix` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/group.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | fn zero(&self) -> Self; // self * zero() == zero() and self + zero() == self [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected fn pointer `fn(&Matrix) -> Matrix<_>` [INFO] [stdout] found fn pointer `fn(&Matrix) -> Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `operation` has an incompatible type for trait [INFO] [stdout] --> src/matrix.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | fn operation(&self, key: OperationType) -> Option<(Operation, Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `group::Operation`, found tuple [INFO] [stdout] | help: change the output type to match the trait: `Option>>` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/group.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | fn operation(&self, key: OperationType) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected fn pointer `fn(&Matrix, group::OperationType) -> Option>>` [INFO] [stdout] found fn pointer `fn(&Matrix, group::OperationType) -> Option<(group::Operation>, Box>)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `empty`, `identity` [INFO] [stdout] --> src/matrix.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | impl> Group for Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `empty`, `identity` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/group.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | fn empty() -> Self; [INFO] [stdout] | ------------------- `empty` from trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn identity(&self, key: OperationType) -> Option> [INFO] [stdout] | ----------------------------------------------------------- `identity` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'box_into_inner' [INFO] [stdout] --> src/matrix.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | matrix[x].push(Box::into_inner(T::empty().operation(OperationType::Add) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #80437 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `1` on type `group::Operation` [INFO] [stdout] --> src/matrix.rs:24:108 [INFO] [stdout] | [INFO] [stdout] 24 | .expect("Can't get addition identity for group that doesn't have addition operations").1)); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'box_into_inner' [INFO] [stdout] --> src/matrix.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | matrix[x].push(Box::into_inner(T::empty().operation(OperationType::Mul) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #80437 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `1` on type `group::Operation` [INFO] [stdout] --> src/matrix.rs:37:124 [INFO] [stdout] | [INFO] [stdout] 37 | .expect("Can't get multiplicative identity for group that doesn't have multiplication operations").1)); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/matrix.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | } else {} [INFO] [stdout] | ^^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math` due to 12 previous errors; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/matrix.rs:75:48 [INFO] [stdout] | [INFO] [stdout] 75 | fn operation(&self, key: OperationType) -> Option<(Operation, Box)> { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(group::Operation>, Box>)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0308, E0609, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1ae39b183b7aca4a92bd50be194d91583d00322947231a4db954a3ed2fda57a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ae39b183b7aca4a92bd50be194d91583d00322947231a4db954a3ed2fda57a5", kill_on_drop: false }` [INFO] [stdout] 1ae39b183b7aca4a92bd50be194d91583d00322947231a4db954a3ed2fda57a5