[INFO] fetching crate ipld-core 0.4.2... [INFO] testing ipld-core-0.4.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ipld-core 0.4.2 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ipld-core 0.4.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09cd74b33a49a24846b195658678aff81722004237352ba65b58c3d1d081b158 [INFO] running `Command { std: "docker" "start" "-a" "09cd74b33a49a24846b195658678aff81722004237352ba65b58c3d1d081b158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09cd74b33a49a24846b195658678aff81722004237352ba65b58c3d1d081b158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09cd74b33a49a24846b195658678aff81722004237352ba65b58c3d1d081b158", kill_on_drop: false }` [INFO] [stdout] 09cd74b33a49a24846b195658678aff81722004237352ba65b58c3d1d081b158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3614454a0b65c4a038261b503ae9a5b37d26c38145867e68059b992b79fc760 [INFO] running `Command { std: "docker" "start" "-a" "a3614454a0b65c4a038261b503ae9a5b37d26c38145867e68059b992b79fc760", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [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 quote v1.0.35 [INFO] [stderr] Compiling multihash v0.19.1 [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.17s [INFO] running `Command { std: "docker" "inspect" "a3614454a0b65c4a038261b503ae9a5b37d26c38145867e68059b992b79fc760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3614454a0b65c4a038261b503ae9a5b37d26c38145867e68059b992b79fc760", kill_on_drop: false }` [INFO] [stdout] a3614454a0b65c4a038261b503ae9a5b37d26c38145867e68059b992b79fc760 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea63012407548ae49a3d0f76a9b08b6d1899aad3d19fe9a6a898a491d72393f3 [INFO] running `Command { std: "docker" "start" "-a" "ea63012407548ae49a3d0f76a9b08b6d1899aad3d19fe9a6a898a491d72393f3", 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 scopeguard v1.2.0 [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.46s [INFO] running `Command { std: "docker" "inspect" "ea63012407548ae49a3d0f76a9b08b6d1899aad3d19fe9a6a898a491d72393f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea63012407548ae49a3d0f76a9b08b6d1899aad3d19fe9a6a898a491d72393f3", kill_on_drop: false }` [INFO] [stdout] ea63012407548ae49a3d0f76a9b08b6d1899aad3d19fe9a6a898a491d72393f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb5ad77100f1b8fb958e17e1d8ee9ae17514f6dc777062f1956d923e24f471fa [INFO] running `Command { std: "docker" "start" "-a" "fb5ad77100f1b8fb958e17e1d8ee9ae17514f6dc777062f1956d923e24f471fa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [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_bool ... ok [INFO] [stdout] test convert::tests::try_into_cid ... ok [INFO] [stdout] test convert::tests::try_into_floats ... ok [INFO] [stdout] test convert::tests::try_into_string ... ok [INFO] [stdout] test convert::tests::try_into_map ... ok [INFO] [stdout] test ipld::tests::test_get ... 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_integer_from ... ok [INFO] [stdout] test ipld::tests::test_ipld_link_from ... ok [INFO] [stdout] test ipld::tests::test_ipld_bytes_from ... ok [INFO] [stdout] test ipld::tests::test_ipld_string_from ... ok [INFO] [stdout] test convert::tests::try_into_ints ... ok [INFO] [stdout] test ipld::tests::test_take ... ok [INFO] [stdout] test ipld::tests::test_partial_eq_nan ... ok [INFO] [stdout] test convert::tests::try_into_list ... ok [INFO] [stdout] test ipld::tests::test_ipld_bool_from ... 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.05s [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.00s [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] [stderr] Doc-tests ipld_core [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - (line 68) ... FAILED [INFO] [stdout] test src/macros.rs - macros::ipld (line 45) ... ok [INFO] [stdout] test src/macros.rs - macros::ipld (line 4) ... ok [INFO] [stdout] test src/macros.rs - macros::ipld (line 27) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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.61s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fb5ad77100f1b8fb958e17e1d8ee9ae17514f6dc777062f1956d923e24f471fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5ad77100f1b8fb958e17e1d8ee9ae17514f6dc777062f1956d923e24f471fa", kill_on_drop: false }` [INFO] [stdout] fb5ad77100f1b8fb958e17e1d8ee9ae17514f6dc777062f1956d923e24f471fa