[INFO] fetching crate linea 0.9.6... [INFO] checking linea-0.9.6 against try#7c3a44cf5f95fa5cf164a312bdcf845157af7093 for pr-77325 [INFO] extracting crate linea 0.9.6 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate linea 0.9.6 on toolchain 7c3a44cf5f95fa5cf164a312bdcf845157af7093 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate linea 0.9.6 [INFO] finished tweaking crates.io crate linea 0.9.6 [INFO] tweaked toml for crates.io crate linea 0.9.6 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dimensioned v0.6.0 [INFO] [stderr] Downloaded generic-array v0.5.1 [INFO] [stderr] Downloaded radical v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cee71199669c2ad015f4836684356a49111aa48578cfa150a71d58787ddfbeb9 [INFO] running `Command { std: "docker" "start" "-a" "cee71199669c2ad015f4836684356a49111aa48578cfa150a71d58787ddfbeb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cee71199669c2ad015f4836684356a49111aa48578cfa150a71d58787ddfbeb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee71199669c2ad015f4836684356a49111aa48578cfa150a71d58787ddfbeb9", kill_on_drop: false }` [INFO] [stdout] cee71199669c2ad015f4836684356a49111aa48578cfa150a71d58787ddfbeb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7c3a44cf5f95fa5cf164a312bdcf845157af7093" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bf2d1967e3b00ad36b94c78ec035d1dcc0c9b1a4daabc5b4927a88fe7888b44 [INFO] running `Command { std: "docker" "start" "-a" "5bf2d1967e3b00ad36b94c78ec035d1dcc0c9b1a4daabc5b4927a88fe7888b44", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking idem v0.4.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking radical v0.1.1 [INFO] [stderr] Checking linea v0.9.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Zero` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/projective.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | where A: Zero + One, [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Zero` could refer to the trait imported here [INFO] [stdout] --> src/projective.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use typenum::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] note: `Zero` could also refer to the trait imported here [INFO] [stdout] --> src/projective.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Zero` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/projective.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | where A: Zero + One, [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Zero` could refer to the trait imported here [INFO] [stdout] --> src/projective.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use typenum::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] note: `Zero` could also refer to the trait imported here [INFO] [stdout] --> src/projective.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Zero` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/projective.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | where A: Zero + One, [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Zero` could refer to the trait imported here [INFO] [stdout] --> src/projective.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use typenum::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] note: `Zero` could also refer to the trait imported here [INFO] [stdout] --> src/projective.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Zero` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/projective.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | where A: Zero + One, [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Zero` could refer to the trait imported here [INFO] [stdout] --> src/projective.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use typenum::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] note: `Zero` could also refer to the trait imported here [INFO] [stdout] --> src/projective.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Zero` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/projective.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | where A: Zero + Mul + One, [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Zero` could refer to the trait imported here [INFO] [stdout] --> src/projective.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use typenum::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] note: `Zero` could also refer to the trait imported here [INFO] [stdout] --> src/projective.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use ::*; [INFO] [stdout] | ^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Zero` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/projective.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | A::Output: Copy + PartialEq + Zero + AddAssign + One, [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `Zero` could refer to the trait imported here [INFO] [stdout] --> src/projective.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use typenum::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] note: `Zero` could also refer to the trait imported here [INFO] [stdout] --> src/projective.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use ::*; [INFO] [stdout] | ^^^ [INFO] [stdout] = help: consider adding an explicit import of `Zero` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for type parameter `A` in the current scope [INFO] [stdout] --> src/projective.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | A::zero [INFO] [stdout] | ^^^^ function or associated item not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `zero`, perhaps you need to restrict type parameter `A` with one of them: [INFO] [stdout] | [INFO] [stdout] 7 | pub fn translate(a: Matrix) -> Matrix, Add1> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub fn translate(a: Matrix) -> Matrix, Add1> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for type parameter `A` in the current scope [INFO] [stdout] --> src/projective.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | A::zero [INFO] [stdout] | ^^^^ function or associated item not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `zero`, perhaps you need to restrict type parameter `A` with one of them: [INFO] [stdout] | [INFO] [stdout] 26 | pub fn transform_linear(a: Matrix) -> Matrix, Add1> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub fn transform_linear(a: Matrix) -> Matrix, Add1> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linea` [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] [stdout] error[E0599]: no function or associated item named `zero` found for type parameter `A` in the current scope [INFO] [stdout] --> src/projective.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | A::zero [INFO] [stdout] | ^^^^ function or associated item not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `zero`, perhaps you need to restrict type parameter `A` with one of them: [INFO] [stdout] | [INFO] [stdout] 7 | pub fn translate(a: Matrix) -> Matrix, Add1> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | pub fn translate(a: Matrix) -> Matrix, Add1> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `zero` found for type parameter `A` in the current scope [INFO] [stdout] --> src/projective.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | A::zero [INFO] [stdout] | ^^^^ function or associated item not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `zero`, perhaps you need to restrict type parameter `A` with one of them: [INFO] [stdout] | [INFO] [stdout] 26 | pub fn transform_linear(a: Matrix) -> Matrix, Add1> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub fn transform_linear(a: Matrix) -> Matrix, Add1> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Matrix` by `Matrix` [INFO] [stdout] --> src/projective.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | transform_linear(a*b) == transform_linear(a)*transform_linear(b) [INFO] [stdout] | -^- Matrix [INFO] [stdout] | | [INFO] [stdout] | Matrix [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `Matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `Matrix>::Output, >::Output>` by `Matrix>::Output, >::Output>` [INFO] [stdout] --> src/projective.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | transform_linear(a*b) == transform_linear(a)*transform_linear(b) [INFO] [stdout] | -------------------^------------------- Matrix>::Output, >::Output> [INFO] [stdout] | | [INFO] [stdout] | Matrix>::Output, >::Output> [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `Matrix>::Output, >::Output>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `isize: typenum::Zero` is not satisfied [INFO] [stdout] --> src/projective.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 52 | fn test_transform_linear_homomorphic(a: Matrix, [INFO] [stdout] | --------------------------------- required by a bound in this [INFO] [stdout] 53 | b: Matrix) -> bool [INFO] [stdout] 54 | where A: Zero + Mul + One, [INFO] [stdout] | ---- required by this bound in `test_transform_linear_homomorphic` [INFO] [stdout] ... [INFO] [stdout] 67 | test_transform_linear_homomorphic(a, b) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `typenum::Zero` is not implemented for `isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0557, E0599, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5bf2d1967e3b00ad36b94c78ec035d1dcc0c9b1a4daabc5b4927a88fe7888b44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bf2d1967e3b00ad36b94c78ec035d1dcc0c9b1a4daabc5b4927a88fe7888b44", kill_on_drop: false }` [INFO] [stdout] 5bf2d1967e3b00ad36b94c78ec035d1dcc0c9b1a4daabc5b4927a88fe7888b44