[INFO] fetching crate ipld-core 0.4.2... [INFO] testing ipld-core-0.4.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate ipld-core 0.4.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ipld-core 0.4.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ipld-core 0.4.2 [INFO] tweaked toml for crates.io crate ipld-core 0.4.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ipld-core 0.4.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ipld-core 0.4.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18f5b9502e0a14d2edb09792a9d9981a23583e9fd37e6dff226d2660f579b776 [INFO] running `Command { std: "docker" "start" "-a" "18f5b9502e0a14d2edb09792a9d9981a23583e9fd37e6dff226d2660f579b776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18f5b9502e0a14d2edb09792a9d9981a23583e9fd37e6dff226d2660f579b776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18f5b9502e0a14d2edb09792a9d9981a23583e9fd37e6dff226d2660f579b776", kill_on_drop: false }` [INFO] [stdout] 18f5b9502e0a14d2edb09792a9d9981a23583e9fd37e6dff226d2660f579b776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7e2ab8950395836081974e019794a6a84cbf60932cdce9d88e52d7723b1d365 [INFO] running `Command { std: "docker" "start" "-a" "e7e2ab8950395836081974e019794a6a84cbf60932cdce9d88e52d7723b1d365", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling multihash v0.19.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling data-encoding-macro v0.1.14 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling cid v0.11.1 [INFO] [stderr] Compiling ipld-core v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.49s [INFO] running `Command { std: "docker" "inspect" "e7e2ab8950395836081974e019794a6a84cbf60932cdce9d88e52d7723b1d365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e2ab8950395836081974e019794a6a84cbf60932cdce9d88e52d7723b1d365", kill_on_drop: false }` [INFO] [stdout] e7e2ab8950395836081974e019794a6a84cbf60932cdce9d88e52d7723b1d365 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 584206fa0eb8ffbd23e272dba485b0cf9731579d7589fb55a5deedace74edfd5 [INFO] running `Command { std: "docker" "start" "-a" "584206fa0eb8ffbd23e272dba485b0cf9731579d7589fb55a5deedace74edfd5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling multihash v0.19.1 [INFO] [stderr] Compiling cbor4ii v0.2.14 [INFO] [stderr] Compiling serde_test v1.0.176 [INFO] [stderr] Compiling cid v0.11.1 [INFO] [stderr] Compiling ipld-core v0.4.1 [INFO] [stderr] Compiling ipld-core v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_ipld_dagcbor v0.6.0 [INFO] [stderr] Compiling serde_ipld_dagjson v0.2.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.38s [INFO] running `Command { std: "docker" "inspect" "584206fa0eb8ffbd23e272dba485b0cf9731579d7589fb55a5deedace74edfd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584206fa0eb8ffbd23e272dba485b0cf9731579d7589fb55a5deedace74edfd5", kill_on_drop: false }` [INFO] [stdout] 584206fa0eb8ffbd23e272dba485b0cf9731579d7589fb55a5deedace74edfd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5dc9e5a1339e5262a5d13a7e1d0173d51d86a936e72474e77a31a4c8236cae3f [INFO] running `Command { std: "docker" "start" "-a" "5dc9e5a1339e5262a5d13a7e1d0173d51d86a936e72474e77a31a4c8236cae3f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ipld_core-4f3dbcb7608ad058) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test convert::tests::try_into_floats ... ok [INFO] [stdout] test convert::tests::try_into_ints ... ok [INFO] [stdout] test convert::tests::try_into_list ... ok [INFO] [stdout] test convert::tests::try_into_map ... ok [INFO] [stdout] test convert::tests::try_into_bool ... ok [INFO] [stdout] test ipld::tests::test_ipld_bool_from ... ok [INFO] [stdout] test ipld::tests::test_get ... ok [INFO] [stdout] test convert::tests::try_into_string ... ok [INFO] [stdout] test convert::tests::try_into_vec ... ok [INFO] [stdout] test ipld::tests::test_ipld_float_from ... ok [INFO] [stdout] test ipld::tests::test_ipld_bytes_from ... ok [INFO] [stdout] test ipld::tests::test_ipld_integer_from ... ok [INFO] [stdout] test ipld::tests::test_ipld_link_from ... ok [INFO] [stdout] test ipld::tests::test_partial_eq_nan ... ok [INFO] [stdout] test ipld::tests::test_take ... ok [INFO] [stdout] test ipld::tests::test_ipld_string_from ... ok [INFO] [stdout] test convert::tests::try_into_cid ... ok [INFO] [stdout] test convert::tests::try_into_wrong_range - should panic ... ok [INFO] [stdout] test convert::tests::try_into_wrong_type - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/macros.rs (/opt/rustwide/target/debug/deps/macros-8308100211f56ef8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_macro ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/serde_deserialize.rs (/opt/rustwide/target/debug/deps/serde_deserialize-ad834ac249236229) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/serde_deserializer.rs (/opt/rustwide/target/debug/deps/serde_deserializer-400ea25f82e138c5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/serde_serialize.rs (/opt/rustwide/target/debug/deps/serde_serialize-2ae58c0bdc8cb0aa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/serde_serializer.rs (/opt/rustwide/target/debug/deps/serde_serializer-2beb9b5425aa871c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ipld_core [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/macros.rs - macros::ipld (line 4) ... ok [INFO] [stdout] test src/lib.rs - (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/macros.rs - macros::ipld (line 27) ... ok [INFO] [stdout] test src/macros.rs - macros::ipld (line 45) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 68) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `encode` found for struct `DagJsonCodec` in the current scope [INFO] [stdout] --> src/lib.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 12 | DagJsonCodec::encode(&mut encoded, &data).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `DagJsonCodec` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ipld_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ipld-core-0.4.1/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 21 | fn encode(writer: W, data: &T) -> Result<(), Self::Error>; [INFO] [stdout] | -------------------------------------------------------------------- the associated function is available for `DagJsonCodec` here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 4 | use ipld_core::{codec::{Codec, Links}, ipld, cid::Cid}; [INFO] [stdout] | ----- `Codec` imported here doesn't correspond to the right version of crate `ipld_core` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ------------------------- this is the trait that was imported [INFO] [stdout] help: there is an associated function `decode` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ipld-core-0.4.1/src/codec.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn decode(reader: R) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `links` found for struct `DagJsonCodec` in the current scope [INFO] [stdout] --> src/lib.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 14 | let links = DagJsonCodec::links(&encoded).unwrap().collect::>(); [INFO] [stdout] | ^^^^^ function or associated item not found in `DagJsonCodec` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ipld_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ipld-core-0.4.1/src/codec.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Links { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the trait that is needed [INFO] [stdout] ... [INFO] [stdout] 42 | fn links(bytes: &[u8]) -> Result, Self::LinksError>; [INFO] [stdout] | ------------------------------------------------------------------------------ the associated function is available for `DagJsonCodec` here [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 4 | use ipld_core::{codec::{Codec, Links}, ipld, cid::Cid}; [INFO] [stdout] | ----- `Links` imported here doesn't correspond to the right version of crate `ipld_core` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/codec.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Links { [INFO] [stdout] | --------------- this is the trait that was imported [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `cid::serde` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DagCborCodec: Codec<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 30 | let cbor_encoded = encode_generic::(&tree); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Codec<_>` is not implemented for `DagCborCodec` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ipld_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#ipld_core; [INFO] [stdout] | ------------------------- one version of crate `ipld_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 8 | use serde_ipld_dagcbor::codec::DagCborCodec; [INFO] [stdout] | ------------------ one version of crate `ipld_core` used here, as a dependency of crate `serde_ipld_dagcbor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_ipld_dagcbor-0.6.0/src/codec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DagCborCodec; [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ipld-core-0.4.1/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `encode_generic` [INFO] [stdout] --> src/lib.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn encode_generic(value: &T) -> Result, C::Error> [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | C: Codec, [INFO] [stdout] | ^^^^^^^^ required by this bound in `encode_generic` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DagCborCodec: Codec<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 30 | let cbor_encoded = encode_generic::(&tree); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Codec<_>` is not implemented for `DagCborCodec` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ipld_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#ipld_core; [INFO] [stdout] | ------------------------- one version of crate `ipld_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 8 | use serde_ipld_dagcbor::codec::DagCborCodec; [INFO] [stdout] | ------------------ one version of crate `ipld_core` used here, as a dependency of crate `serde_ipld_dagcbor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_ipld_dagcbor-0.6.0/src/codec.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct DagCborCodec; [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ipld-core-0.4.1/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DagJsonCodec: Codec<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 39 | let json_encoded = encode_generic::(&tree).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Codec<_>` is not implemented for `DagJsonCodec` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ipld_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#ipld_core; [INFO] [stdout] | ------------------------- one version of crate `ipld_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 8 | use serde_ipld_dagcbor::codec::DagCborCodec; [INFO] [stdout] | ------------------ one version of crate `ipld_core` used here, as a dependency of crate `serde_ipld_dagcbor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_ipld_dagjson-0.2.0/src/codec.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DagJsonCodec; [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ipld-core-0.4.1/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `encode_generic` [INFO] [stdout] --> src/lib.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn encode_generic(value: &T) -> Result, C::Error> [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] 18 | where [INFO] [stdout] 19 | C: Codec, [INFO] [stdout] | ^^^^^^^^ required by this bound in `encode_generic` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DagJsonCodec: Codec<_>` is not satisfied [INFO] [stdout] --> src/lib.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 39 | let json_encoded = encode_generic::(&tree).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Codec<_>` is not implemented for `DagJsonCodec` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `ipld_core` in the dependency graph [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#ipld_core; [INFO] [stdout] | ------------------------- one version of crate `ipld_core` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 8 | use serde_ipld_dagcbor::codec::DagCborCodec; [INFO] [stdout] | ------------------ one version of crate `ipld_core` used here, as a dependency of crate `serde_ipld_dagcbor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_ipld_dagjson-0.2.0/src/codec.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DagJsonCodec; [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ipld-core-0.4.1/src/codec.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Codec: Links { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/lib.rs - (line 22) [INFO] [stdout] src/lib.rs - (line 68) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5dc9e5a1339e5262a5d13a7e1d0173d51d86a936e72474e77a31a4c8236cae3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dc9e5a1339e5262a5d13a7e1d0173d51d86a936e72474e77a31a4c8236cae3f", kill_on_drop: false }` [INFO] [stdout] 5dc9e5a1339e5262a5d13a7e1d0173d51d86a936e72474e77a31a4c8236cae3f