[INFO] fetching crate symbolics_calculus 0.1.5... [INFO] testing symbolics_calculus-0.1.5 against 1.59.0 for beta-1.60-1 [INFO] extracting crate symbolics_calculus 0.1.5 into /workspace/builds/worker-114/source [INFO] validating manifest of crates.io crate symbolics_calculus 0.1.5 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate symbolics_calculus 0.1.5 [INFO] finished tweaking crates.io crate symbolics_calculus 0.1.5 [INFO] tweaked toml for crates.io crate symbolics_calculus 0.1.5 written to /workspace/builds/worker-114/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d8a13f81efd8c1ec23e5d48758f4f3233dca3ff11ef44950b9d24caf490e939 [INFO] running `Command { std: "docker" "start" "-a" "7d8a13f81efd8c1ec23e5d48758f4f3233dca3ff11ef44950b9d24caf490e939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d8a13f81efd8c1ec23e5d48758f4f3233dca3ff11ef44950b9d24caf490e939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8a13f81efd8c1ec23e5d48758f4f3233dca3ff11ef44950b9d24caf490e939", kill_on_drop: false }` [INFO] [stdout] 7d8a13f81efd8c1ec23e5d48758f4f3233dca3ff11ef44950b9d24caf490e939 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14532045703e2469d977cab624f778332a7fdd505af7330b1c5e394f1e8d212d [INFO] running `Command { std: "docker" "start" "-a" "14532045703e2469d977cab624f778332a7fdd505af7330b1c5e394f1e8d212d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling symbolics_core v0.1.5 [INFO] [stderr] Compiling symbolics_calculus v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `apply`, `s` [INFO] [stdout] --> src/lib.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use symbolics_core::{s, apply}; [INFO] [stdout] | ^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: S` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(wrt.as_ref()) + b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(>::as_ref(wrt)) + b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(>::as_ref(wrt)) + b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(>::as_ref(wrt)) + b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(>::as_ref(wrt)) + b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(wrt.as_ref()) + b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `Derivative::deriv1` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Derivative::deriv1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:16:80 [INFO] [stdout] | [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(wrt.as_ref()) + b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(wrt.as_ref()) + b.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(wrt.as_ref()) + b.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(wrt.as_ref()) + b.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(wrt.as_ref()) + b.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:16:69 [INFO] [stdout] | [INFO] [stdout] 16 | Add(a, b) => a.clone().deriv1(wrt.as_ref()) + b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `Derivative::deriv1` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Derivative::deriv1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(wrt.as_ref())**b.clone() + *a.clone()*b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(>::as_ref(wrt))**b.clone() + *a.clone()*b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(>::as_ref(wrt))**b.clone() + *a.clone()*b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(>::as_ref(wrt))**b.clone() + *a.clone()*b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(>::as_ref(wrt))**b.clone() + *a.clone()*b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(wrt.as_ref())**b.clone() + *a.clone()*b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `Derivative::deriv1` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Derivative::deriv1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:17:102 [INFO] [stdout] | [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(wrt.as_ref())**b.clone() + *a.clone()*b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(wrt.as_ref())**b.clone() + *a.clone()*b.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(wrt.as_ref())**b.clone() + *a.clone()*b.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(wrt.as_ref())**b.clone() + *a.clone()*b.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(wrt.as_ref())**b.clone() + *a.clone()*b.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:17:91 [INFO] [stdout] | [INFO] [stdout] 17 | Mul(a, b) => a.clone().deriv1(wrt.as_ref())**b.clone() + *a.clone()*b.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `Derivative::deriv1` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Derivative::deriv1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:18:89 [INFO] [stdout] | [INFO] [stdout] 18 | ...e().ln()*b.clone().deriv1(wrt.as_ref()) + (*b.clone()*a.clone().deriv1(wrt.as_ref())/(*a.clone()))), [INFO] [stdout] | ----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 18 | Pow(a, b) => (*a.clone()^*b.clone()) * (a.clone().ln()*b.clone().deriv1(>::as_ref(wrt)) + (*b.clone()*a.clone().deriv1(wrt.as_ref())/(*a.clone()))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 18 | Pow(a, b) => (*a.clone()^*b.clone()) * (a.clone().ln()*b.clone().deriv1(>::as_ref(wrt)) + (*b.clone()*a.clone().deriv1(wrt.as_ref())/(*a.clone()))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 18 | Pow(a, b) => (*a.clone()^*b.clone()) * (a.clone().ln()*b.clone().deriv1(>::as_ref(wrt)) + (*b.clone()*a.clone().deriv1(wrt.as_ref())/(*a.clone()))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 18 | Pow(a, b) => (*a.clone()^*b.clone()) * (a.clone().ln()*b.clone().deriv1(>::as_ref(wrt)) + (*b.clone()*a.clone().deriv1(wrt.as_ref())/(*a.clone()))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:18:78 [INFO] [stdout] | [INFO] [stdout] 18 | ... Pow(a, b) => (*a.clone()^*b.clone()) * (a.clone().ln()*b.clone().deriv1(wrt.as_ref()) + (*b.clone()*a.clone().deriv1(wrt.as_ref())/... [INFO] [stdout] | ^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `Derivative::deriv1` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Derivative::deriv1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:18:134 [INFO] [stdout] | [INFO] [stdout] 18 | ....clone()*a.clone().deriv1(wrt.as_ref())/(*a.clone()))), [INFO] [stdout] | ----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 18 | Pow(a, b) => (*a.clone()^*b.clone()) * (a.clone().ln()*b.clone().deriv1(wrt.as_ref()) + (*b.clone()*a.clone().deriv1(>::as_ref(wrt))/(*a.clone()))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 18 | Pow(a, b) => (*a.clone()^*b.clone()) * (a.clone().ln()*b.clone().deriv1(wrt.as_ref()) + (*b.clone()*a.clone().deriv1(>::as_ref(wrt))/(*a.clone()))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 18 | Pow(a, b) => (*a.clone()^*b.clone()) * (a.clone().ln()*b.clone().deriv1(wrt.as_ref()) + (*b.clone()*a.clone().deriv1(>::as_ref(wrt))/(*a.clone()))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 18 | Pow(a, b) => (*a.clone()^*b.clone()) * (a.clone().ln()*b.clone().deriv1(wrt.as_ref()) + (*b.clone()*a.clone().deriv1(>::as_ref(wrt))/(*a.clone()))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:18:123 [INFO] [stdout] | [INFO] [stdout] 18 | ...deriv1(wrt.as_ref()) + (*b.clone()*a.clone().deriv1(wrt.as_ref())/(*a.clone()))), [INFO] [stdout] | ^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `Derivative::deriv1` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Derivative::deriv1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | Log(a, b) => a.clone().deriv1(wrt.as_ref()) / (*a.clone() * b.ln()), [INFO] [stdout] | ----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 19 | Log(a, b) => a.clone().deriv1(>::as_ref(wrt)) / (*a.clone() * b.ln()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 19 | Log(a, b) => a.clone().deriv1(>::as_ref(wrt)) / (*a.clone() * b.ln()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 19 | Log(a, b) => a.clone().deriv1(>::as_ref(wrt)) / (*a.clone() * b.ln()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 19 | Log(a, b) => a.clone().deriv1(>::as_ref(wrt)) / (*a.clone() * b.ln()), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | Log(a, b) => a.clone().deriv1(wrt.as_ref()) / (*a.clone() * b.ln()), [INFO] [stdout] | ^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `Derivative::deriv1` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Derivative::deriv1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | Sin(x) => x.clone().cos() * x.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 20 | Sin(x) => x.clone().cos() * x.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 20 | Sin(x) => x.clone().cos() * x.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 20 | Sin(x) => x.clone().cos() * x.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 20 | Sin(x) => x.clone().cos() * x.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | Sin(x) => x.clone().cos() * x.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `Derivative::deriv1` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Derivative::deriv1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:21:63 [INFO] [stdout] | [INFO] [stdout] 21 | Cos(x) => -x.clone().sin() * x.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 21 | Cos(x) => -x.clone().sin() * x.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 21 | Cos(x) => -x.clone().sin() * x.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 21 | Cos(x) => -x.clone().sin() * x.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 21 | Cos(x) => -x.clone().sin() * x.clone().deriv1(>::as_ref(wrt)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | Cos(x) => -x.clone().sin() * x.clone().deriv1(wrt.as_ref()), [INFO] [stdout] | ^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `Derivative::deriv1` [INFO] [stdout] --> src/lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn deriv1>(self, S) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Derivative::deriv1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `symbolics_calculus` due to 19 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "14532045703e2469d977cab624f778332a7fdd505af7330b1c5e394f1e8d212d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14532045703e2469d977cab624f778332a7fdd505af7330b1c5e394f1e8d212d", kill_on_drop: false }` [INFO] [stdout] 14532045703e2469d977cab624f778332a7fdd505af7330b1c5e394f1e8d212d