[INFO] fetching crate var_quantity 0.1.0... [INFO] testing var_quantity-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate var_quantity 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate var_quantity 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate var_quantity 0.1.0 [INFO] tweaked toml for crates.io crate var_quantity 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate var_quantity 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate var_quantity 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deserialize_untagged_verbose_error v0.1.5 [INFO] [stderr] Downloaded deserialize_untagged_verbose_error_macro v0.1.3 [INFO] [stderr] Downloaded dyn_quantity v0.5.4 [INFO] [stderr] Downloaded horner v0.1.2 [INFO] [stderr] Downloaded logos-codegen v0.14.4 [INFO] [stderr] Downloaded logos-derive v0.14.4 [INFO] [stderr] Downloaded dyn_quantity_lexer v0.1.1 [INFO] [stderr] Downloaded uom v0.36.0 [INFO] [stderr] Downloaded logos v0.14.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c462cf31b6ac413c2549c779dfff49d1b73d0dc04cee6b0ceb8676baf3bd6aa [INFO] running `Command { std: "docker" "start" "-a" "8c462cf31b6ac413c2549c779dfff49d1b73d0dc04cee6b0ceb8676baf3bd6aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c462cf31b6ac413c2549c779dfff49d1b73d0dc04cee6b0ceb8676baf3bd6aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c462cf31b6ac413c2549c779dfff49d1b73d0dc04cee6b0ceb8676baf3bd6aa", kill_on_drop: false }` [INFO] [stdout] 8c462cf31b6ac413c2549c779dfff49d1b73d0dc04cee6b0ceb8676baf3bd6aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 309975ced63325d5ee07536c1b962d894240034769dfd19a0f110ed179db6b4c [INFO] running `Command { std: "docker" "start" "-a" "309975ced63325d5ee07536c1b962d894240034769dfd19a0f110ed179db6b4c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling uom v0.36.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling horner v0.1.2 [INFO] [stderr] Compiling dyn_quantity v0.5.4 [INFO] [stderr] Compiling var_quantity v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.70s [INFO] running `Command { std: "docker" "inspect" "309975ced63325d5ee07536c1b962d894240034769dfd19a0f110ed179db6b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "309975ced63325d5ee07536c1b962d894240034769dfd19a0f110ed179db6b4c", kill_on_drop: false }` [INFO] [stdout] 309975ced63325d5ee07536c1b962d894240034769dfd19a0f110ed179db6b4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 958286c01884d9cfb616ae3d74b4b1a68a26b5e27418953eea33ac33f6388612 [INFO] running `Command { std: "docker" "start" "-a" "958286c01884d9cfb616ae3d74b4b1a68a26b5e27418953eea33ac33f6388612", kill_on_drop: false }` [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling var_quantity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/var_quantity_custom_impl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uom::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `typetag` [INFO] [stdout] --> tests/var_quantity_custom_impl.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `typetag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> tests/var_quantity_custom_impl.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Clone, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> tests/var_quantity_custom_impl.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Clone, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `typetag` [INFO] [stdout] --> tests/var_quantity_custom_impl.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `typetag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> tests/var_quantity_custom_impl.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Clone, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> tests/var_quantity_custom_impl.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Clone, serde::Deserialize, serde::Serialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `typetag` [INFO] [stdout] --> tests/var_quantity_custom_impl.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `typetag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dyn_quantity::deserialize_quantity` [INFO] [stdout] --> tests/serde.rs:1:51 [INFO] [stdout] | [INFO] [stdout] 1 | use dyn_quantity::{DynQuantity, PredefUnit, Unit, deserialize_quantity}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `deserialize_quantity` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> tests/serde.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `uom::serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `typetag` [INFO] [stdout] --> tests/serde.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[typetag::serde] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `typetag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/serde.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[serde(deserialize_with = "deserialize_quantity")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `var_quantity` (test "var_quantity_custom_impl") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `VarQuantity>: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | let q: VarQuantity = serde_yaml::from_str("0.001").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `VarQuantity>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 144 others [INFO] [stdout] = note: required for `VarQuantity>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/serde-7e11da635ce9c3df.long-type-2530947105635117524.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Exponential: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:245:32 [INFO] [stdout] | [INFO] [stdout] 245 | let fun: Exponential = serde_yaml::from_str(yaml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Exponential` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Exponential` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VarQuantity>: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | let q: VarQuantity = serde_yaml::from_str("1 mT").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `VarQuantity>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 144 others [INFO] [stdout] = note: required for `VarQuantity>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/serde-7e11da635ce9c3df.long-type-17949379281629279702.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VarQuantity>: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 24 | let q: VarQuantity = serde_yaml::from_str("1e-3 T").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `VarQuantity>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 144 others [INFO] [stdout] = note: required for `VarQuantity>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/serde-7e11da635ce9c3df.long-type-14761017940874245703.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Exponential: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:253:48 [INFO] [stdout] | [INFO] [stdout] 253 | let serialized = serde_yaml::to_string(&fun).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `var_quantity::unary::Exponential` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `var_quantity::unary::Exponential` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VarQuantity>: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | serde_yaml::from_str("1/(2.0e6) Ohm*m").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `VarQuantity>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 144 others [INFO] [stdout] = note: required for `VarQuantity>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/serde-7e11da635ce9c3df.long-type-6178915754798503823.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Exponential: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:254:32 [INFO] [stdout] | [INFO] [stdout] 254 | let fun: Exponential = serde_yaml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Exponential` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Exponential` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VarQuantity>: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | assert!(serde_yaml::from_str::>("1 mT").is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `VarQuantity>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 144 others [INFO] [stdout] = note: required for `VarQuantity>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/serde-7e11da635ce9c3df.long-type-14357225312141393002.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VarQuantity>: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:84:63 [INFO] [stdout] | [INFO] [stdout] 84 | let var_quantity: VarQuantity = serde_yaml::from_str(string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `VarQuantity>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 144 others [INFO] [stdout] = note: required for `VarQuantity>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/serde-7e11da635ce9c3df.long-type-1021326240339231505.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Exponential: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:273:32 [INFO] [stdout] | [INFO] [stdout] 273 | let fun: Exponential = serde_yaml::from_str(yaml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Exponential` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Exponential` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Exponential: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:300:48 [INFO] [stdout] | [INFO] [stdout] 300 | let serialized = serde_yaml::to_string(&fun).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `var_quantity::unary::Exponential` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `var_quantity::unary::Exponential` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VarQuantity>: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:101:63 [INFO] [stdout] | [INFO] [stdout] 101 | let var_quantity: VarQuantity = serde_yaml::from_str(string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `VarQuantity>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 144 others [INFO] [stdout] = note: required for `VarQuantity>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/serde-7e11da635ce9c3df.long-type-1213731960088668501.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Exponential: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:301:32 [INFO] [stdout] | [INFO] [stdout] 301 | let fun: Exponential = serde_yaml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Exponential` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Exponential` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn var_quantity::QuantityFunction: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/serde.rs:123:44 [INFO] [stdout] | [INFO] [stdout] 123 | let string = serde_yaml::to_string(&boxed).unwrap(); [INFO] [stdout] | --------------------- ^^^^^^ the trait `Serialize` is not implemented for `dyn var_quantity::QuantityFunction` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `dyn var_quantity::QuantityFunction` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 132 others [INFO] [stdout] = note: required for `Box` to implement `Serialize` [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::FirstOrderTaylor: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:339:37 [INFO] [stdout] | [INFO] [stdout] 339 | let fun: FirstOrderTaylor = serde_yaml::from_str(yaml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::FirstOrderTaylor` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::FirstOrderTaylor` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `var_quantity` (test "serde") due to 13 previous errors [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::FirstOrderTaylor: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:346:48 [INFO] [stdout] | [INFO] [stdout] 346 | let serialized = serde_yaml::to_string(&fun).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `var_quantity::unary::FirstOrderTaylor` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `var_quantity::unary::FirstOrderTaylor` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VarQuantity>: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | serde_yaml::from_str(&string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `VarQuantity>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 144 others [INFO] [stdout] = note: required for `VarQuantity>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/serde-7e11da635ce9c3df.long-type-9369562370831451622.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::FirstOrderTaylor: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:347:37 [INFO] [stdout] | [INFO] [stdout] 347 | let fun: FirstOrderTaylor = serde_yaml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::FirstOrderTaylor` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::FirstOrderTaylor` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::FirstOrderTaylor: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:362:37 [INFO] [stdout] | [INFO] [stdout] 362 | let fun: FirstOrderTaylor = serde_yaml::from_str(yaml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::FirstOrderTaylor` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::FirstOrderTaylor` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::FirstOrderTaylor: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:386:48 [INFO] [stdout] | [INFO] [stdout] 386 | let serialized = serde_yaml::to_string(&fun).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `var_quantity::unary::FirstOrderTaylor` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `var_quantity::unary::FirstOrderTaylor` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::FirstOrderTaylor: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:387:37 [INFO] [stdout] | [INFO] [stdout] 387 | let fun: FirstOrderTaylor = serde_yaml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::FirstOrderTaylor` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::FirstOrderTaylor` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Linear: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:421:27 [INFO] [stdout] | [INFO] [stdout] 421 | let fun: Linear = serde_yaml::from_str(yaml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Linear` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Linear` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Linear: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:426:48 [INFO] [stdout] | [INFO] [stdout] 426 | let serialized = serde_yaml::to_string(&fun).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `var_quantity::unary::Linear` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `var_quantity::unary::Linear` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Linear: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:427:27 [INFO] [stdout] | [INFO] [stdout] 427 | let fun: Linear = serde_yaml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Linear` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Linear` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Linear: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:439:27 [INFO] [stdout] | [INFO] [stdout] 439 | let fun: Linear = serde_yaml::from_str(yaml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Linear` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Linear` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Linear: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:457:48 [INFO] [stdout] | [INFO] [stdout] 457 | let serialized = serde_yaml::to_string(&fun).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `var_quantity::unary::Linear` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `var_quantity::unary::Linear` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Linear: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | let fun: Linear = serde_yaml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Linear` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Linear` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Polynomial: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:488:31 [INFO] [stdout] | [INFO] [stdout] 488 | let fun: Polynomial = serde_yaml::from_str(yaml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Polynomial` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Polynomial` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Polynomial: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:494:48 [INFO] [stdout] | [INFO] [stdout] 494 | let serialized = serde_yaml::to_string(&fun).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `var_quantity::unary::Polynomial` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `var_quantity::unary::Polynomial` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Polynomial: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:495:31 [INFO] [stdout] | [INFO] [stdout] 495 | let fun: Polynomial = serde_yaml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Polynomial` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Polynomial` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Polynomial: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:508:31 [INFO] [stdout] | [INFO] [stdout] 508 | let fun: Polynomial = serde_yaml::from_str(yaml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Polynomial` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Polynomial` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Polynomial: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:513:48 [INFO] [stdout] | [INFO] [stdout] 513 | let serialized = serde_yaml::to_string(&fun).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `var_quantity::unary::Polynomial` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `var_quantity::unary::Polynomial` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Polynomial: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:514:31 [INFO] [stdout] | [INFO] [stdout] 514 | let fun: Polynomial = serde_yaml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Polynomial` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Polynomial` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Polynomial: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:530:31 [INFO] [stdout] | [INFO] [stdout] 530 | let fun: Polynomial = serde_yaml::from_str(yaml).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Polynomial` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Polynomial` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Polynomial: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:547:48 [INFO] [stdout] | [INFO] [stdout] 547 | let serialized = serde_yaml::to_string(&fun).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde_core::ser::Serialize` is not implemented for `var_quantity::unary::Polynomial` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `var_quantity::unary::Polynomial` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde_core::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_yaml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/ser.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 851 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 852 | where [INFO] [stdout] 853 | T: ?Sized + ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `var_quantity::unary::Polynomial: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/unary_functions.rs:548:31 [INFO] [stdout] | [INFO] [stdout] 548 | let fun: Polynomial = serde_yaml::from_str(&serialized).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde_core::de::Deserialize<'de>` is not implemented for `var_quantity::unary::Polynomial` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde_core::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `var_quantity::unary::Polynomial` to implement `serde_core::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `serde_yaml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.8.26/src/de.rs:1434:8 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn from_str(s: &str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 1433 | where [INFO] [stdout] 1434 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `var_quantity` (test "unary_functions") due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "958286c01884d9cfb616ae3d74b4b1a68a26b5e27418953eea33ac33f6388612", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958286c01884d9cfb616ae3d74b4b1a68a26b5e27418953eea33ac33f6388612", kill_on_drop: false }` [INFO] [stdout] 958286c01884d9cfb616ae3d74b4b1a68a26b5e27418953eea33ac33f6388612