[INFO] fetching crate bity 0.1.4... [INFO] testing bity-0.1.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bity 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate bity 0.1.4 [INFO] finished tweaking crates.io crate bity 0.1.4 [INFO] tweaked toml for crates.io crate bity 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bity 0.1.4 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 bity 0.1.4 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.8.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9f822726212156307bdde0b66cc26f1e2461f1f19873d41ce09f1362ad52f4f5 [INFO] running `Command { std: "docker" "start" "-a" "9f822726212156307bdde0b66cc26f1e2461f1f19873d41ce09f1362ad52f4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f822726212156307bdde0b66cc26f1e2461f1f19873d41ce09f1362ad52f4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f822726212156307bdde0b66cc26f1e2461f1f19873d41ce09f1362ad52f4f5", kill_on_drop: false }` [INFO] [stdout] 9f822726212156307bdde0b66cc26f1e2461f1f19873d41ce09f1362ad52f4f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8f4d4f48c3346f836ffa35cfb7fe1fa7a634f51a5cf8e5a907143f0aaafa3ba4 [INFO] running `Command { std: "docker" "start" "-a" "8f4d4f48c3346f836ffa35cfb7fe1fa7a634f51a5cf8e5a907143f0aaafa3ba4", kill_on_drop: false }` [INFO] [stderr] Compiling bity v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "8f4d4f48c3346f836ffa35cfb7fe1fa7a634f51a5cf8e5a907143f0aaafa3ba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f4d4f48c3346f836ffa35cfb7fe1fa7a634f51a5cf8e5a907143f0aaafa3ba4", kill_on_drop: false }` [INFO] [stdout] 8f4d4f48c3346f836ffa35cfb7fe1fa7a634f51a5cf8e5a907143f0aaafa3ba4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6841818d3b9711a5a58252b2a366eb9b379d42165039308662a94486b19bb294 [INFO] running `Command { std: "docker" "start" "-a" "6841818d3b9711a5a58252b2a366eb9b379d42165039308662a94486b19bb294", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling bity v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.63s [INFO] running `Command { std: "docker" "inspect" "6841818d3b9711a5a58252b2a366eb9b379d42165039308662a94486b19bb294", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6841818d3b9711a5a58252b2a366eb9b379d42165039308662a94486b19bb294", kill_on_drop: false }` [INFO] [stdout] 6841818d3b9711a5a58252b2a366eb9b379d42165039308662a94486b19bb294 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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", kill_on_drop: false }` [INFO] [stdout] b7e59a8be6fa6a603cf4f5042ffe48661f62f87ffaaca931c0fbdea94dbee728 [INFO] running `Command { std: "docker" "start" "-a" "b7e59a8be6fa6a603cf4f5042ffe48661f62f87ffaaca931c0fbdea94dbee728", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bity-3d05854570456f31) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test bit::tests::parse ... ok [INFO] [stderr] Doc-tests bity [INFO] [stdout] test bps::tests::parse ... ok [INFO] [stdout] test byte::tests::format ... ok [INFO] [stdout] test bit::tests::format ... ok [INFO] [stdout] test byte::tests::parse ... ok [INFO] [stdout] test bps::tests::format ... ok [INFO] [stdout] test byteps::tests::format ... ok [INFO] [stdout] test byteps::tests::parse ... ok [INFO] [stdout] test packet::tests::format ... ok [INFO] [stdout] test packet::tests::parse ... ok [INFO] [stdout] test pps::tests::parse ... ok [INFO] [stdout] test si::tests::format ... ok [INFO] [stdout] test si::tests::parse ... ok [INFO] [stdout] test pps::tests::format ... ok [INFO] [stdout] test si::tests::parse_with_additional_units ... ok [INFO] [stdout] test tests::strip_per_second ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test src/byte.rs - byte (line 22) ... FAILED [INFO] [stdout] test src/byte.rs - byte::format (line 100) ... ok [INFO] [stdout] test src/bps.rs - bps (line 24) ... FAILED [INFO] [stdout] test src/byte.rs - byte::parse (line 75) ... ok [INFO] [stdout] test src/byteps.rs - byteps::parse (line 81) ... ok [INFO] [stdout] test src/byteps.rs - byteps::format (line 103) ... ok [INFO] [stdout] test src/byteps.rs - byteps (line 23) ... FAILED [INFO] [stdout] test src/bit.rs - bit::parse (line 75) ... ok [INFO] [stdout] test src/packet.rs - packet (line 5) ... ok [INFO] [stdout] test src/bit.rs - bit (line 22) ... FAILED [INFO] [stdout] test src/bps.rs - bps (line 5) ... ok [INFO] [stdout] test src/bps.rs - bps::format (line 104) ... ok [INFO] [stdout] test src/byte.rs - byte (line 5) ... ok [INFO] [stdout] test src/byteps.rs - byteps (line 5) ... ok [INFO] [stdout] test src/packet.rs - packet (line 23) ... FAILED [INFO] [stdout] test src/bit.rs - bit (line 5) ... ok [INFO] [stdout] test src/bps.rs - bps::parse (line 82) ... ok [INFO] [stdout] test src/lib.rs - strip_per_second (line 125) ... ok [INFO] [stdout] test src/si.rs - si (line 22) ... FAILED [INFO] [stdout] test src/pps.rs - pps (line 24) ... FAILED [INFO] [stdout] test src/bit.rs - bit::format (line 98) ... ok [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] test src/pps.rs - pps (line 5) ... ok [INFO] [stdout] test src/packet.rs - packet::parse (line 76) ... ok [INFO] [stdout] test src/si.rs - si::parse_with_additional_units (line 128) ... ok [INFO] [stdout] test src/pps.rs - pps::parse (line 82) ... ok [INFO] [stdout] test src/si.rs - si (line 5) ... ok [INFO] [stdout] test src/packet.rs - packet::format (line 94) ... ok [INFO] [stdout] test src/pps.rs - pps::format (line 104) ... ok [INFO] [stdout] test src/si.rs - si::format (line 218) ... ok [INFO] [stdout] test src/si.rs - si::parse (line 87) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/byte.rs - byte (line 22) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/byte.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/serde.rs, use `mod serde` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 21 + mod serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/byte.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/byte.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[serde(with = "bity::byte")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/byte.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[serde(with = "bity::byte")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/byte.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | toml::from_str::( [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Config` [INFO] [stdout] --> src/byte.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Config { [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 147 others [INFO] [stdout] = note: required for `Config` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `toml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/de.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: serde::de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/byte.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | toml::to_string(&Config { [INFO] [stdout] | _____---------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 52 | | user_quota: 1_500, [INFO] [stdout] 53 | | max_size: 180, [INFO] [stdout] 54 | | }) [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Config` [INFO] [stdout] --> src/byte.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Config` 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::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 135 others [INFO] [stdout] note: required by a bound in `toml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: serde::ser::Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bps.rs - bps (line 24) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/bps.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/serde.rs, use `mod serde` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 23 + mod serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/bps.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/bps.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[serde(with = "bity::bps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/bps.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[serde(with = "bity::bps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/bps.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[serde(with = "bity::bps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/bps.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | toml::from_str::( [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Config` [INFO] [stdout] --> src/bps.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct Config { [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 147 others [INFO] [stdout] = note: required for `Config` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `toml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/de.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: serde::de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/bps.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | toml::to_string(&Config { [INFO] [stdout] | _____---------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 58 | | bandwidth: 5_100_000, [INFO] [stdout] 59 | | nic: 180_000 * 8, [INFO] [stdout] 60 | | highest: 12_000, [INFO] [stdout] 61 | | }) [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Config` [INFO] [stdout] --> src/bps.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Config` 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::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 135 others [INFO] [stdout] note: required by a bound in `toml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: serde::ser::Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/byteps.rs - byteps (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/byteps.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/serde.rs, use `mod serde` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 22 + mod serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/byteps.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/byteps.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[serde(with = "bity::byteps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/byteps.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[serde(with = "bity::byteps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/byteps.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[serde(with = "bity::byteps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/byteps.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | toml::from_str::( [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Config` [INFO] [stdout] --> src/byteps.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct Config { [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 147 others [INFO] [stdout] = note: required for `Config` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `toml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/de.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: serde::de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/byteps.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | toml::to_string(&Config { [INFO] [stdout] | _____---------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 57 | | bandwidth: 5_100_000, [INFO] [stdout] 58 | | nic: 180_000, [INFO] [stdout] 59 | | highest: 12_000, [INFO] [stdout] 60 | | }) [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Config` [INFO] [stdout] --> src/byteps.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Config` 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::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 135 others [INFO] [stdout] note: required by a bound in `toml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: serde::ser::Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/bit.rs - bit (line 22) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/bit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/serde.rs, use `mod serde` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 21 + mod serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/bit.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/bit.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[serde(with = "bity::bit")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/bit.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[serde(with = "bity::bit")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/bit.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | toml::from_str::( [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Config` [INFO] [stdout] --> src/bit.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Config { [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 147 others [INFO] [stdout] = note: required for `Config` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `toml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/de.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: serde::de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/bit.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | toml::to_string(&Config { [INFO] [stdout] | _____---------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 52 | | user_quota: 1_500, [INFO] [stdout] 53 | | max_size: 180, [INFO] [stdout] 54 | | }) [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Config` [INFO] [stdout] --> src/bit.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Config` 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::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 135 others [INFO] [stdout] note: required by a bound in `toml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: serde::ser::Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/packet.rs - packet (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/packet.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/serde.rs, use `mod serde` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 22 + mod serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/packet.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/packet.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[serde(with = "bity::packet")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/packet.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[serde(with = "bity::packet")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/packet.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | toml::from_str::( [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Config` [INFO] [stdout] --> src/packet.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct Config { [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 147 others [INFO] [stdout] = note: required for `Config` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `toml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/de.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: serde::de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/packet.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | toml::to_string(&Config { [INFO] [stdout] | _____---------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 53 | | monthly_usage: 1_500, [INFO] [stdout] 54 | | remaining: 180, [INFO] [stdout] 55 | | }) [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Config` [INFO] [stdout] --> src/packet.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Config` 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::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 135 others [INFO] [stdout] note: required by a bound in `toml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: serde::ser::Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/si.rs - si (line 22) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/si.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/serde.rs, use `mod serde` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 21 + mod serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/si.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/si.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[serde(with = "bity::si")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/si.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[serde(with = "bity::si")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/si.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | toml::from_str::( [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Config` [INFO] [stdout] --> src/si.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Config { [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 147 others [INFO] [stdout] = note: required for `Config` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `toml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/de.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: serde::de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/si.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | toml::to_string(&Config { [INFO] [stdout] | _____---------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 52 | | max_concurrent_users: 1_500, [INFO] [stdout] 53 | | instances: 5, [INFO] [stdout] 54 | | }) [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Config` [INFO] [stdout] --> src/si.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Config` 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::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 135 others [INFO] [stdout] note: required by a bound in `toml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: serde::ser::Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pps.rs - pps (line 24) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/pps.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/serde.rs, use `mod serde` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 23 + mod serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/pps.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/pps.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[serde(with = "bity::pps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/pps.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[serde(with = "bity::pps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/pps.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[serde(with = "bity::pps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/pps.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | toml::from_str::( [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Config` [INFO] [stdout] --> src/pps.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct Config { [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 147 others [INFO] [stdout] = note: required for `Config` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `toml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/de.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: serde::de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/pps.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | toml::to_string(&Config { [INFO] [stdout] | _____---------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 58 | | bandwidth: 5_100_000, [INFO] [stdout] 59 | | nic: 180_000, [INFO] [stdout] 60 | | highest: 12_000, [INFO] [stdout] 61 | | }) [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Config` [INFO] [stdout] --> src/pps.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Config` 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::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 135 others [INFO] [stdout] note: required by a bound in `toml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: serde::ser::Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/serde.rs, use `mod serde` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 4 + mod serde; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[serde(rename_all = "kebab-case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[serde(with = "bity::si")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[serde(with = "bity::bit")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[serde(with = "bity::bps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[serde(with = "bity::byte")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[serde(with = "bity::byteps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[serde(with = "bity::packet")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[serde(with = "bity::pps")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::de::DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | toml::from_str::( [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `Config` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Config { [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 147 others [INFO] [stdout] = note: required for `Config` to implement `serde::de::DeserializeOwned` [INFO] [stdout] note: required by a bound in `toml::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/de.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_str(s: &'_ str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 42 | where [INFO] [stdout] 43 | T: serde::de::DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | toml::to_string(&Config { [INFO] [stdout] | _____---------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 71 | | max_users: 1_500, [INFO] [stdout] 72 | | user_quota: 5_200_000_000, [INFO] [stdout] 73 | | bandwidth: 512_000, [INFO] [stdout] ... | [INFO] [stdout] 77 | | record: 88_300_000, [INFO] [stdout] 78 | | }) [INFO] [stdout] | |_____^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Config` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Config` 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::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 135 others [INFO] [stdout] note: required by a bound in `toml::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.8.20/src/ser.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: serde::ser::Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/bit.rs - bit (line 22) [INFO] [stdout] src/bps.rs - bps (line 24) [INFO] [stdout] src/byte.rs - byte (line 22) [INFO] [stdout] src/byteps.rs - byteps (line 23) [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] src/packet.rs - packet (line 23) [INFO] [stdout] src/pps.rs - pps (line 24) [INFO] [stdout] src/si.rs - si (line 22) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 23 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.43s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.73s; merged doctests compilation took 0.29s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b7e59a8be6fa6a603cf4f5042ffe48661f62f87ffaaca931c0fbdea94dbee728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e59a8be6fa6a603cf4f5042ffe48661f62f87ffaaca931c0fbdea94dbee728", kill_on_drop: false }` [INFO] [stdout] b7e59a8be6fa6a603cf4f5042ffe48661f62f87ffaaca931c0fbdea94dbee728