[INFO] fetching crate serlp 0.3.1... [INFO] testing serlp-0.3.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate serlp 0.3.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate serlp 0.3.1 [INFO] finished tweaking crates.io crate serlp 0.3.1 [INFO] tweaked toml for crates.io crate serlp 0.3.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serlp 0.3.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 451bd1a386cec9f0a2bc3d120e61f8ad0f9faa7ab536f03dc16f5a532340dbb6 [INFO] running `Command { std: "docker" "start" "-a" "451bd1a386cec9f0a2bc3d120e61f8ad0f9faa7ab536f03dc16f5a532340dbb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "451bd1a386cec9f0a2bc3d120e61f8ad0f9faa7ab536f03dc16f5a532340dbb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "451bd1a386cec9f0a2bc3d120e61f8ad0f9faa7ab536f03dc16f5a532340dbb6", kill_on_drop: false }` [INFO] [stdout] 451bd1a386cec9f0a2bc3d120e61f8ad0f9faa7ab536f03dc16f5a532340dbb6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dd519b1a87f57fb0f62cf76a050909d2cc8b22b9fa63c8f068226286ea9371f [INFO] running `Command { std: "docker" "start" "-a" "8dd519b1a87f57fb0f62cf76a050909d2cc8b22b9fa63c8f068226286ea9371f", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serlp v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rlp.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn root(&'de self) -> &RlpNode { [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named 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: consistently use `'de` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn root(&'de self) -> &'de RlpNode<'de> { [INFO] [stdout] | +++ +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rlp.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn root_mut(&'de mut self) -> &mut RlpNode { [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'de` [INFO] [stdout] | [INFO] [stdout] 121 | pub fn root_mut(&'de mut self) -> &'de mut RlpNode<'de> { [INFO] [stdout] | +++ +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn rlp_tree(&self) -> RlpTree { [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] 152 | pub fn rlp_tree(&self) -> RlpTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.31s [INFO] running `Command { std: "docker" "inspect" "8dd519b1a87f57fb0f62cf76a050909d2cc8b22b9fa63c8f068226286ea9371f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd519b1a87f57fb0f62cf76a050909d2cc8b22b9fa63c8f068226286ea9371f", kill_on_drop: false }` [INFO] [stdout] 8dd519b1a87f57fb0f62cf76a050909d2cc8b22b9fa63c8f068226286ea9371f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ebffd06a92b69a1e2cb66c78516144c908d615ad620e3bb669a58d295d8c581 [INFO] running `Command { std: "docker" "start" "-a" "7ebffd06a92b69a1e2cb66c78516144c908d615ad620e3bb669a58d295d8c581", kill_on_drop: false }` [INFO] [stderr] Compiling serlp v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rlp.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn root(&'de self) -> &RlpNode { [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named 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: consistently use `'de` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn root(&'de self) -> &'de RlpNode<'de> { [INFO] [stdout] | +++ +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rlp.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn root_mut(&'de mut self) -> &mut RlpNode { [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'de` [INFO] [stdout] | [INFO] [stdout] 121 | pub fn root_mut(&'de mut self) -> &'de mut RlpNode<'de> { [INFO] [stdout] | +++ +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn rlp_tree(&self) -> RlpTree { [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] 152 | pub fn rlp_tree(&self) -> RlpTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Equiv` is never constructed [INFO] [stdout] --> src/lib.rs:466:16 [INFO] [stdout] | [INFO] [stdout] 466 | struct Equiv((u32, u64)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rlp.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn root(&'de self) -> &RlpNode { [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named 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: consistently use `'de` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn root(&'de self) -> &'de RlpNode<'de> { [INFO] [stdout] | +++ +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rlp.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn root_mut(&'de mut self) -> &mut RlpNode { [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'de` [INFO] [stdout] | [INFO] [stdout] 121 | pub fn root_mut(&'de mut self) -> &'de mut RlpNode<'de> { [INFO] [stdout] | +++ +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/de.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn rlp_tree(&self) -> RlpTree { [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] 152 | pub fn rlp_tree(&self) -> RlpTree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "7ebffd06a92b69a1e2cb66c78516144c908d615ad620e3bb669a58d295d8c581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ebffd06a92b69a1e2cb66c78516144c908d615ad620e3bb669a58d295d8c581", kill_on_drop: false }` [INFO] [stdout] 7ebffd06a92b69a1e2cb66c78516144c908d615ad620e3bb669a58d295d8c581 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff2f368d6844911710fa56de510722c3d996aba46c47c7429a3052419a4e4d95 [INFO] running `Command { std: "docker" "start" "-a" "ff2f368d6844911710fa56de510722c3d996aba46c47c7429a3052419a4e4d95", kill_on_drop: false }` [INFO] [stderr] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rlp.rs:113:31 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn root(&'de self) -> &RlpNode { [INFO] [stderr] | --- ^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'de` [INFO] [stderr] | [INFO] [stderr] 113 | pub fn root(&'de self) -> &'de RlpNode<'de> { [INFO] [stderr] | +++ +++++ [INFO] [stderr] [INFO] [stderr] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rlp.rs:121:39 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn root_mut(&'de mut self) -> &mut RlpNode { [INFO] [stderr] | --- ^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'de` [INFO] [stderr] | [INFO] [stderr] 121 | pub fn root_mut(&'de mut self) -> &'de mut RlpNode<'de> { [INFO] [stderr] | +++ +++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/de.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn rlp_tree(&self) -> RlpTree { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 152 | pub fn rlp_tree(&self) -> RlpTree<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: struct `Equiv` is never constructed [INFO] [stderr] --> src/lib.rs:466:16 [INFO] [stderr] | [INFO] [stderr] 466 | struct Equiv((u32, u64)); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `serlp` (lib) generated 3 warnings (run `cargo fix --lib -p serlp` to apply 3 suggestions) [INFO] [stderr] warning: `serlp` (lib test) generated 4 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serlp-0a2af1f98f4a5674) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test test::test_1024 ... ok [INFO] [stderr] Doc-tests serlp [INFO] [stdout] test test::test_15 ... ok [INFO] [stdout] test test::test_boxed_value ... ok [INFO] [stdout] test test::test_bn ... ok [INFO] [stdout] test test::test_bytes ... ok [INFO] [stdout] test test::test_compound_zst ... ok [INFO] [stdout] test test::test_empty ... ok [INFO] [stdout] test test::test_empty_list ... ok [INFO] [stdout] test test::test_long_string ... ok [INFO] [stdout] test test::test_embedded_struct ... ok [INFO] [stdout] test test::test_list ... ok [INFO] [stdout] test test::test_proxy ... ok [INFO] [stdout] test test::test_set_theoretic_definition ... ok [INFO] [stdout] test test::test_unit_variant ... ok [INFO] [stdout] test test::test_simple_enum ... ok [INFO] [stdout] test test::test_variant_struct ... ok [INFO] [stdout] test test::test_variant_tuple ... ok [INFO] [stdout] test test::test_zst_struct ... ok [INFO] [stdout] test test::test_zero ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] test src/rlp.rs - rlp::to_bytes (line 19) ... FAILED [INFO] [stdout] test src/de.rs - de::RlpProxy (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 38) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 1 | [], (), "", b"", struct Empty, Variant::Empty, None, PhantomData [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rlp.rs - rlp::to_bytes (line 19) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `enum` [INFO] [stdout] --> src/rlp.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 3 | struct Int(u8) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | [INFO] [stdout] 5 | enum Sample { [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/de.rs - de::RlpProxy (line 118) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/de.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/de.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, PartialEq, Eq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/de.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[serde(from = "RlpProxy")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `serde` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RlpProxy` in this scope [INFO] [stdout] --> src/de.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 11 | impl From for Classify { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use serlp::de::RlpProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RlpProxy` in this scope [INFO] [stdout] --> src/de.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn from(proxy: RlpProxy) -> Self { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use serlp::de::RlpProxy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes` in this scope [INFO] [stdout] --> src/de.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 16 | return Classify::Ten(from_bytes(raw).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use serlp::rlp::from_bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 7 | [191, -9810], [INFO] [stdout] | ^^^^^^^^^^^^ expected integer, found `[{integer}; 2]` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 9 | [[], [[]], [[], [[]]]] [INFO] [stdout] | ^^^^ expected an array with a size of 0, found one with a size of 1 [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[_; 0]; 0]` [INFO] [stdout] found array `[[_; 0]; 1]` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 9 | [[], [[]], [[], [[]]]] [INFO] [stdout] | ^^^^ expected an array with a size of 0, found one with a size of 1 [INFO] [stdout] | [INFO] [stdout] = note: expected array `[[_; 0]; 0]` [INFO] [stdout] found array `[[_; 0]; 1]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/de.rs - de::RlpProxy (line 118) [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] src/rlp.rs - rlp::to_bytes (line 19) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ff2f368d6844911710fa56de510722c3d996aba46c47c7429a3052419a4e4d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff2f368d6844911710fa56de510722c3d996aba46c47c7429a3052419a4e4d95", kill_on_drop: false }` [INFO] [stdout] ff2f368d6844911710fa56de510722c3d996aba46c47c7429a3052419a4e4d95