[INFO] fetching crate bee-ternary 1.0.0... [INFO] checking bee-ternary-1.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate bee-ternary 1.0.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate bee-ternary 1.0.0 [INFO] finished tweaking crates.io crate bee-ternary 1.0.0 [INFO] tweaked toml for crates.io crate bee-ternary 1.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bee-ternary 1.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d54b8a090d93adb6a0df9037b6132f81380e0ab4ee40b946eeebcd2c7f4e7e7 [INFO] running `Command { std: "docker" "start" "-a" "2d54b8a090d93adb6a0df9037b6132f81380e0ab4ee40b946eeebcd2c7f4e7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d54b8a090d93adb6a0df9037b6132f81380e0ab4ee40b946eeebcd2c7f4e7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d54b8a090d93adb6a0df9037b6132f81380e0ab4ee40b946eeebcd2c7f4e7e7", kill_on_drop: false }` [INFO] [stdout] 2d54b8a090d93adb6a0df9037b6132f81380e0ab4ee40b946eeebcd2c7f4e7e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3cd855fd715e55239e55140168291ddce5ebc49228b750854c9421d7bd05b15 [INFO] running `Command { std: "docker" "start" "-a" "b3cd855fd715e55239e55140168291ddce5ebc49228b750854c9421d7bd05b15", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bee-ternary v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, `has_i128`, `has_u128`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:831:5 [INFO] [stdout] | [INFO] [stdout] 831 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 503 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::TritBuf: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/serde.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | serde_json::to_string(&a).unwrap(), [INFO] [stdout] | --------------------- ^^ the trait `serde::Serialize` is not implemented for `bee_ternary::TritBuf` [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 `bee_ternary::TritBuf` 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::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 111 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/ser.rs:2247:17 [INFO] [stdout] | [INFO] [stdout] 2245 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2246 | where [INFO] [stdout] 2247 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::TritBuf: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/serde.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | serde_json::to_string(&a).unwrap(), [INFO] [stdout] | --------------------- ^^ the trait `serde::Serialize` is not implemented for `bee_ternary::TritBuf` [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 `bee_ternary::TritBuf` 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::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 111 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/ser.rs:2247:17 [INFO] [stdout] | [INFO] [stdout] 2245 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2246 | where [INFO] [stdout] 2247 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::TritBuf: Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/serde.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | serde_json::from_str::>(&format!( [INFO] [stdout] | ^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `bee_ternary::TritBuf` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `bee_ternary::TritBuf` 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 `Deserialize<'de>`: [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] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::TritBuf: Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/serde.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | serde_json::from_str::>(&format!( [INFO] [stdout] | ^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `bee_ternary::TritBuf` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `bee_ternary::TritBuf` 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 `Deserialize<'de>`: [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] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.143/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/serde.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | serialize_generic::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `bee_ternary::Btrit` 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::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 111 others [INFO] [stdout] note: required by a bound in `serialize_generic` [INFO] [stdout] --> tests/serde.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 10 | fn serialize_generic() [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 11 | where [INFO] [stdout] 12 | ::Trit: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Utrit: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/serde.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | serialize_generic_unbalanced::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `bee_ternary::Utrit` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `bee_ternary::Utrit` 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::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 111 others [INFO] [stdout] note: required by a bound in `serialize_generic_unbalanced` [INFO] [stdout] --> tests/serde.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 21 | fn serialize_generic_unbalanced() [INFO] [stdout] | ---------------------------- required by a bound in this function [INFO] [stdout] 22 | where [INFO] [stdout] 23 | ::Trit: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_generic_unbalanced` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/serde.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | serialize_generic::(); [INFO] [stdout] | ^^^^^^^ the trait `serde::Serialize` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `bee_ternary::Btrit` 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::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 111 others [INFO] [stdout] note: required by a bound in `serialize_generic` [INFO] [stdout] --> tests/serde.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 10 | fn serialize_generic() [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 11 | where [INFO] [stdout] 12 | ::Trit: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/serde.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | serialize_generic::(); [INFO] [stdout] | ^^^^^^^ the trait `serde::Serialize` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `bee_ternary::Btrit` 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::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 111 others [INFO] [stdout] note: required by a bound in `serialize_generic` [INFO] [stdout] --> tests/serde.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 10 | fn serialize_generic() [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 11 | where [INFO] [stdout] 12 | ::Trit: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/serde.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | serialize_generic::(); [INFO] [stdout] | ^^^^^^^ the trait `serde::Serialize` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `bee_ternary::Btrit` 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::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 111 others [INFO] [stdout] note: required by a bound in `serialize_generic` [INFO] [stdout] --> tests/serde.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 10 | fn serialize_generic() [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 11 | where [INFO] [stdout] 12 | ::Trit: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: serde::Serialize` is not satisfied [INFO] [stdout] --> tests/serde.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | serialize_generic::(); [INFO] [stdout] | ^^^^^^^ the trait `serde::Serialize` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `bee_ternary::Btrit` 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::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 111 others [INFO] [stdout] note: required by a bound in `serialize_generic` [INFO] [stdout] --> tests/serde.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 10 | fn serialize_generic() [INFO] [stdout] | ----------------- required by a bound in this function [INFO] [stdout] 11 | where [INFO] [stdout] 12 | ::Trit: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `serialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | deserialize_generic::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [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] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] = note: required for `bee_ternary::Btrit` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `deserialize_generic` [INFO] [stdout] --> tests/serde.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 32 | fn deserialize_generic() [INFO] [stdout] | ------------------- required by a bound in this function [INFO] [stdout] 33 | where [INFO] [stdout] 34 | ::Trit: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `deserialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Utrit: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:75:38 [INFO] [stdout] | [INFO] [stdout] 75 | deserialize_generic_unbalanced::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `bee_ternary::Utrit` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [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] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] = note: required for `bee_ternary::Utrit` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `deserialize_generic_unbalanced` [INFO] [stdout] --> tests/serde.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 47 | fn deserialize_generic_unbalanced() [INFO] [stdout] | ------------------------------ required by a bound in this function [INFO] [stdout] 48 | where [INFO] [stdout] 49 | ::Trit: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `deserialize_generic_unbalanced` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | deserialize_generic::(); [INFO] [stdout] | ^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [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] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] = note: required for `bee_ternary::Btrit` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `deserialize_generic` [INFO] [stdout] --> tests/serde.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 32 | fn deserialize_generic() [INFO] [stdout] | ------------------- required by a bound in this function [INFO] [stdout] 33 | where [INFO] [stdout] 34 | ::Trit: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `deserialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, `has_i128`, `has_u128`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/lib.rs:831:5 [INFO] [stdout] | [INFO] [stdout] 831 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | deserialize_generic::(); [INFO] [stdout] | ^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [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] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] = note: required for `bee_ternary::Btrit` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `deserialize_generic` [INFO] [stdout] --> tests/serde.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 32 | fn deserialize_generic() [INFO] [stdout] | ------------------- required by a bound in this function [INFO] [stdout] 33 | where [INFO] [stdout] 34 | ::Trit: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `deserialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | deserialize_generic::(); [INFO] [stdout] | ^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [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] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] = note: required for `bee_ternary::Btrit` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `deserialize_generic` [INFO] [stdout] --> tests/serde.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 32 | fn deserialize_generic() [INFO] [stdout] | ------------------- required by a bound in this function [INFO] [stdout] 33 | where [INFO] [stdout] 34 | ::Trit: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `deserialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bee_ternary::Btrit: DeserializeOwned` is not satisfied [INFO] [stdout] --> tests/serde.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | deserialize_generic::(); [INFO] [stdout] | ^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `bee_ternary::Btrit` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [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] (T0, T1, T2, T3, T4) [INFO] [stdout] and 121 others [INFO] [stdout] = note: required for `bee_ternary::Btrit` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `deserialize_generic` [INFO] [stdout] --> tests/serde.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 32 | fn deserialize_generic() [INFO] [stdout] | ------------------- required by a bound in this function [INFO] [stdout] 33 | where [INFO] [stdout] 34 | ::Trit: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `deserialize_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bee-ternary` (test "serde") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:503:21 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 503 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3cd855fd715e55239e55140168291ddce5ebc49228b750854c9421d7bd05b15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3cd855fd715e55239e55140168291ddce5ebc49228b750854c9421d7bd05b15", kill_on_drop: false }` [INFO] [stdout] b3cd855fd715e55239e55140168291ddce5ebc49228b750854c9421d7bd05b15