[INFO] fetching crate polynomical 1.0.0... [INFO] checking polynomical-1.0.0 against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] extracting crate polynomical 1.0.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate polynomical 1.0.0 [INFO] finished tweaking crates.io crate polynomical 1.0.0 [INFO] tweaked toml for crates.io crate polynomical 1.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate polynomical 1.0.0 on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d45ae0273e7df34f324c3ee7e671c2612f7f811cfdf60a2a51c696af1bba0705 [INFO] running `Command { std: "docker" "start" "-a" "d45ae0273e7df34f324c3ee7e671c2612f7f811cfdf60a2a51c696af1bba0705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d45ae0273e7df34f324c3ee7e671c2612f7f811cfdf60a2a51c696af1bba0705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45ae0273e7df34f324c3ee7e671c2612f7f811cfdf60a2a51c696af1bba0705", kill_on_drop: false }` [INFO] [stdout] d45ae0273e7df34f324c3ee7e671c2612f7f811cfdf60a2a51c696af1bba0705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 584542a8decec75880c5783c32d8f97ddc04e2739ed6369b194b7066aac52a79 [INFO] running `Command { std: "docker" "start" "-a" "584542a8decec75880c5783c32d8f97ddc04e2739ed6369b194b7066aac52a79", kill_on_drop: false }` [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking polynomical v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:336:48 [INFO] [stdout] | [INFO] [stdout] 336 | operator_impl!(impl Add for Polynomial => | (p0, p1) | { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 337 | [INFO] [stdout] 338 | let (p0, p1): (Expr<_>, Expr<_>) = (p0.into(), p1.into()); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 336 | operator_impl!(impl Add for Polynomial => | (p0, p1): (_, _) | { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 278 | fn [< $target_trait:lower >](self, rhs: Self) -> Self::Output { [INFO] [stdout] | ------------ expected `Polynomial` because of return type [INFO] [stdout] 279 | ($target_expr as fn((Self, Self)) -> Self)((self, rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Polynomial`, found fn pointer [INFO] [stdout] ... [INFO] [stdout] 336 | / operator_impl!(impl Add for Polynomial => | (p0, p1) | { [INFO] [stdout] 337 | | [INFO] [stdout] 338 | | let (p0, p1): (Expr<_>, Expr<_>) = (p0.into(), p1.into()); [INFO] [stdout] ... | [INFO] [stdout] 348 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Polynomial` [INFO] [stdout] found fn pointer `fn((Polynomial, Polynomial)) -> Polynomial` [INFO] [stdout] = note: this error originates in the macro `operator_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this function pointer [INFO] [stdout] | [INFO] [stdout] 279 | ($target_expr as fn((Self, Self)) -> Self)((self, rhs))(/* (Polynomial, Polynomial) */) [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:350:46 [INFO] [stdout] | [INFO] [stdout] 350 | operator_impl!(impl Mul for Monomial => | (mut m0, m1) | { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 351 | m0.grade = m0.grade.wrapping_add(&m1.grade); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 350 | operator_impl!(impl Mul for Monomial => | (mut m0, m1): (_, _) | { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:357:48 [INFO] [stdout] | [INFO] [stdout] 357 | operator_impl!(impl Mul for Polynomial => | (p0, p1) | { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 358 | [INFO] [stdout] 359 | let (p0, p1): (Expr<_>, Expr<_>) = (p0.into(), p1.into()); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 357 | operator_impl!(impl Mul for Polynomial => | (p0, p1): (_, _) | { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 278 | fn [< $target_trait:lower >](self, rhs: Self) -> Self::Output { [INFO] [stdout] | ------------ expected `Polynomial` because of return type [INFO] [stdout] 279 | ($target_expr as fn((Self, Self)) -> Self)((self, rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Polynomial`, found fn pointer [INFO] [stdout] ... [INFO] [stdout] 357 | / operator_impl!(impl Mul for Polynomial => | (p0, p1) | { [INFO] [stdout] 358 | | [INFO] [stdout] 359 | | let (p0, p1): (Expr<_>, Expr<_>) = (p0.into(), p1.into()); [INFO] [stdout] ... | [INFO] [stdout] 369 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Polynomial` [INFO] [stdout] found fn pointer `fn((Polynomial, Polynomial)) -> Polynomial` [INFO] [stdout] = note: this error originates in the macro `operator_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this function pointer [INFO] [stdout] | [INFO] [stdout] 279 | ($target_expr as fn((Self, Self)) -> Self)((self, rhs))(/* (Polynomial, Polynomial) */) [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:336:48 [INFO] [stdout] | [INFO] [stdout] 336 | operator_impl!(impl Add for Polynomial => | (p0, p1) | { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 337 | [INFO] [stdout] 338 | let (p0, p1): (Expr<_>, Expr<_>) = (p0.into(), p1.into()); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 336 | operator_impl!(impl Add for Polynomial => | (p0, p1): (_, _) | { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 278 | fn [< $target_trait:lower >](self, rhs: Self) -> Self::Output { [INFO] [stdout] | ------------ expected `Polynomial` because of return type [INFO] [stdout] 279 | ($target_expr as fn((Self, Self)) -> Self)((self, rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Polynomial`, found fn pointer [INFO] [stdout] ... [INFO] [stdout] 336 | / operator_impl!(impl Add for Polynomial => | (p0, p1) | { [INFO] [stdout] 337 | | [INFO] [stdout] 338 | | let (p0, p1): (Expr<_>, Expr<_>) = (p0.into(), p1.into()); [INFO] [stdout] ... | [INFO] [stdout] 348 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Polynomial` [INFO] [stdout] found fn pointer `fn((Polynomial, Polynomial)) -> Polynomial` [INFO] [stdout] = note: this error originates in the macro `operator_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this function pointer [INFO] [stdout] | [INFO] [stdout] 279 | ($target_expr as fn((Self, Self)) -> Self)((self, rhs))(/* (Polynomial, Polynomial) */) [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polynomical` (lib) due to 5 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:350:46 [INFO] [stdout] | [INFO] [stdout] 350 | operator_impl!(impl Mul for Monomial => | (mut m0, m1) | { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 351 | m0.grade = m0.grade.wrapping_add(&m1.grade); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 350 | operator_impl!(impl Mul for Monomial => | (mut m0, m1): (_, _) | { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:357:48 [INFO] [stdout] | [INFO] [stdout] 357 | operator_impl!(impl Mul for Polynomial => | (p0, p1) | { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 358 | [INFO] [stdout] 359 | let (p0, p1): (Expr<_>, Expr<_>) = (p0.into(), p1.into()); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 357 | operator_impl!(impl Mul for Polynomial => | (p0, p1): (_, _) | { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 278 | fn [< $target_trait:lower >](self, rhs: Self) -> Self::Output { [INFO] [stdout] | ------------ expected `Polynomial` because of return type [INFO] [stdout] 279 | ($target_expr as fn((Self, Self)) -> Self)((self, rhs)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Polynomial`, found fn pointer [INFO] [stdout] ... [INFO] [stdout] 357 | / operator_impl!(impl Mul for Polynomial => | (p0, p1) | { [INFO] [stdout] 358 | | [INFO] [stdout] 359 | | let (p0, p1): (Expr<_>, Expr<_>) = (p0.into(), p1.into()); [INFO] [stdout] ... | [INFO] [stdout] 369 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Polynomial` [INFO] [stdout] found fn pointer `fn((Polynomial, Polynomial)) -> Polynomial` [INFO] [stdout] = note: this error originates in the macro `operator_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use parentheses to call this function pointer [INFO] [stdout] | [INFO] [stdout] 279 | ($target_expr as fn((Self, Self)) -> Self)((self, rhs))(/* (Polynomial, Polynomial) */) [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `polynomical` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "584542a8decec75880c5783c32d8f97ddc04e2739ed6369b194b7066aac52a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584542a8decec75880c5783c32d8f97ddc04e2739ed6369b194b7066aac52a79", kill_on_drop: false }` [INFO] [stdout] 584542a8decec75880c5783c32d8f97ddc04e2739ed6369b194b7066aac52a79