[INFO] fetching crate ockam_multiaddr 0.70.0... [INFO] testing ockam_multiaddr-0.70.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ockam_multiaddr 0.70.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ockam_multiaddr 0.70.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ockam_multiaddr 0.70.0 [INFO] tweaked toml for crates.io crate ockam_multiaddr 0.70.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ockam_multiaddr 0.70.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 185 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding minicbor v0.25.1 (available: v2.1.1) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2672732014a9100a352938331df54e29b5a8213b4904f4ea2d5fda61879b9bb [INFO] running `Command { std: "docker" "start" "-a" "e2672732014a9100a352938331df54e29b5a8213b4904f4ea2d5fda61879b9bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2672732014a9100a352938331df54e29b5a8213b4904f4ea2d5fda61879b9bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2672732014a9100a352938331df54e29b5a8213b4904f4ea2d5fda61879b9bb", kill_on_drop: false }` [INFO] [stdout] e2672732014a9100a352938331df54e29b5a8213b4904f4ea2d5fda61879b9bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96ef23517c416e464be7a41e9b9fd923494d759b0b0ca74919bc3f4fa6c3382c [INFO] running `Command { std: "docker" "start" "-a" "96ef23517c416e464be7a41e9b9fd923494d759b0b0ca74919bc3f4fa6c3382c", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling minicbor v0.25.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling minicbor-derive v0.15.3 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling opentelemetry v0.27.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling ockam_macros v0.38.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling utcnow v0.2.7 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling opentelemetry_sdk v0.27.1 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling tracing-opentelemetry v0.28.0 [INFO] [stderr] Compiling serde_bare v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ockam_core v0.125.0 [INFO] [stderr] Compiling ockam_multiaddr v0.70.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:452:22 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn pop_front(&mut self) -> Option { [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] 452 | pub fn pop_front(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:495:18 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn first(&self) -> Option { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 495 | pub fn first(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:502:17 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn last(&self) -> Option { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 502 | pub fn last(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn iter(&self) -> ProtoIter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 507 | pub fn iter(&self) -> ProtoIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.81s [INFO] running `Command { std: "docker" "inspect" "96ef23517c416e464be7a41e9b9fd923494d759b0b0ca74919bc3f4fa6c3382c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ef23517c416e464be7a41e9b9fd923494d759b0b0ca74919bc3f4fa6c3382c", kill_on_drop: false }` [INFO] [stdout] 96ef23517c416e464be7a41e9b9fd923494d759b0b0ca74919bc3f4fa6c3382c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96367541ad6cccc76c2b696670ac1e70d376c936547fda54bfc49ede9dcf8b71 [INFO] running `Command { std: "docker" "start" "-a" "96367541ad6cccc76c2b696670ac1e70d376c936547fda54bfc49ede9dcf8b71", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling minicbor-derive v0.15.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling serde_bare v0.5.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling ockam_macros v0.38.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling opentelemetry v0.27.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling minicbor v0.25.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling opentelemetry_sdk v0.27.1 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling tracing-opentelemetry v0.28.0 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling ockam_core v0.125.0 [INFO] [stderr] Compiling ockam_multiaddr v0.70.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:452:22 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn pop_front(&mut self) -> Option { [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] 452 | pub fn pop_front(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:495:18 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn first(&self) -> Option { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 495 | pub fn first(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:502:17 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn last(&self) -> Option { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 502 | pub fn last(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn iter(&self) -> ProtoIter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 507 | pub fn iter(&self) -> ProtoIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultiAddr: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/id.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | let json = serde_json::to_string(&a.0).unwrap(); [INFO] [stdout] | --------------------- ^^^^ the trait `serde::ser::Serialize` is not implemented for `MultiAddr` [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 `MultiAddr` 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 151 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 `MultiAddr: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/id.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let addr = serde_json::from_str(&json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `MultiAddr` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `MultiAddr` 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::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 161 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 `MultiAddr: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> tests/id.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | let byts = bincode::serialize(&a.0).unwrap(); [INFO] [stdout] | ------------------ ^^^^ the trait `serde::ser::Serialize` is not implemented for `MultiAddr` [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 `MultiAddr` 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 151 others [INFO] [stdout] note: required by a bound in `bincode::serialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn serialize(value: &T) -> Result> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 107 | where [INFO] [stdout] 108 | T: serde::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultiAddr: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> tests/id.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let addr = bincode::deserialize(&byts).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `MultiAddr` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `MultiAddr` 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::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 161 others [INFO] [stdout] note: required by a bound in `bincode::deserialize` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-1.3.3/src/lib.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn deserialize<'a, T>(bytes: &'a [u8]) -> Result [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 178 | where [INFO] [stdout] 179 | T: serde::de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultiAddr: Encode<()>` is not satisfied [INFO] [stdout] --> tests/id.rs:43:57 [INFO] [stdout] | [INFO] [stdout] 43 | let byts = ockam_core::cbor_encode_preallocate(&a.0).unwrap(); [INFO] [stdout] | ----------------------------------- ^^^ the trait `Encode<()>` is not implemented for `MultiAddr` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encode`: [INFO] [stdout] `&T` implements `Encode` [INFO] [stdout] `&mut T` implements `Encode` [INFO] [stdout] `()` implements `Encode` [INFO] [stdout] `(A, B)` implements `Encode` [INFO] [stdout] `(A, B, C)` implements `Encode` [INFO] [stdout] `(A, B, C, D)` implements `Encode` [INFO] [stdout] `(A, B, C, D, E)` implements `Encode` [INFO] [stdout] `(A, B, C, D, E, F)` implements `Encode` [INFO] [stdout] and 107 others [INFO] [stdout] = note: required for `&MultiAddr` to implement `Encode<()>` [INFO] [stdout] note: required by a bound in `cbor_encode_preallocate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ockam_core-0.125.0/src/cbor.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn cbor_encode_preallocate(x: T) -> Result> [INFO] [stdout] | ----------------------- required by a bound in this function [INFO] [stdout] 17 | where [INFO] [stdout] 18 | T: Encode<()> + CborLen<()>, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `cbor_encode_preallocate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MultiAddr: Decode<'_, ()>` is not satisfied [INFO] [stdout] --> tests/id.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let addr = minicbor::decode(&byts).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decode<'_, ()>` is not implemented for `MultiAddr` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decode<'b, C>`: [INFO] [stdout] `&'a ByteSlice` implements `Decode<'b, C>` [INFO] [stdout] `&'a CStr` implements `Decode<'b, C>` [INFO] [stdout] `&'a Path` implements `Decode<'b, C>` [INFO] [stdout] `&'a str` implements `Decode<'b, C>` [INFO] [stdout] `()` implements `Decode<'b, C>` [INFO] [stdout] `(A, B)` implements `Decode<'b, Ctx>` [INFO] [stdout] `(A, B, C)` implements `Decode<'b, Ctx>` [INFO] [stdout] `(A, B, C, D)` implements `Decode<'b, Ctx>` [INFO] [stdout] and 102 others [INFO] [stdout] note: required by a bound in `minicbor::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/minicbor-0.25.1/src/lib.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn decode<'b, T>(b: &'b [u8]) -> Result [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: Decode<'b, ()> [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ockam_multiaddr` (test "id") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:452:22 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn pop_front(&mut self) -> Option { [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] 452 | pub fn pop_front(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:495:18 [INFO] [stdout] | [INFO] [stdout] 495 | pub fn first(&self) -> Option { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 495 | pub fn first(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:502:17 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn last(&self) -> Option { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 502 | pub fn last(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn iter(&self) -> ProtoIter { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 507 | pub fn iter(&self) -> ProtoIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "96367541ad6cccc76c2b696670ac1e70d376c936547fda54bfc49ede9dcf8b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96367541ad6cccc76c2b696670ac1e70d376c936547fda54bfc49ede9dcf8b71", kill_on_drop: false }` [INFO] [stdout] 96367541ad6cccc76c2b696670ac1e70d376c936547fda54bfc49ede9dcf8b71