[INFO] fetching crate open-fastrlp 0.1.4... [INFO] checking open-fastrlp-0.1.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate open-fastrlp 0.1.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate open-fastrlp 0.1.4 [INFO] finished tweaking crates.io crate open-fastrlp 0.1.4 [INFO] tweaked toml for crates.io crate open-fastrlp 0.1.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate open-fastrlp 0.1.4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 129 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding ethereum-types v0.14.1 (available: v0.15.1) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a4f786023f5af17fdf397712ad07a7e5fd486cef8547da30b422423b025e546 [INFO] running `Command { std: "docker" "start" "-a" "5a4f786023f5af17fdf397712ad07a7e5fd486cef8547da30b422423b025e546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a4f786023f5af17fdf397712ad07a7e5fd486cef8547da30b422423b025e546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4f786023f5af17fdf397712ad07a7e5fd486cef8547da30b422423b025e546", kill_on_drop: false }` [INFO] [stdout] 5a4f786023f5af17fdf397712ad07a7e5fd486cef8547da30b422423b025e546 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8679fb659f74e360cf06e375b7c5ccd7ec3b1cadcd368a644716bf7019df846a [INFO] running `Command { std: "docker" "start" "-a" "8679fb659f74e360cf06e375b7c5ccd7ec3b1cadcd368a644716bf7019df846a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Checking open-fastrlp v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stdout] error[E0432]: unresolved import `ethnum` [INFO] [stdout] --> tests/rlp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethnum::U256; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ethnum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ethnum`, use `cargo add ethnum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ethereum_types` [INFO] [stdout] --> src/decode.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | use ethereum_types::{U128, U256, U512, U64}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ethereum_types` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ethereum_types`, use `cargo add ethereum_types` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ethnum` [INFO] [stdout] --> src/decode.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | use ethnum::AsU256; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ethnum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ethnum`, use `cargo add ethnum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RlpEncodable` in this scope [INFO] [stdout] --> tests/rlp.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, RlpEncodable, RlpDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `open-fastrlp` (bench "bench") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `ethnum` [INFO] [stdout] --> benches/bench.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ethnum::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `ethnum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ethnum`, use `cargo add ethnum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Vec` in the current scope [INFO] [stdout] --> benches/bench.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | let _ = Vec::::decode(&mut &data[..]).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RlpDecodable` in this scope [INFO] [stdout] --> tests/rlp.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq, RlpEncodable, RlpDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RlpEncodable` in this scope [INFO] [stdout] --> tests/rlp.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, PartialEq, RlpEncodable, RlpDecodable, RlpMaxEncodedLen)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RlpDecodable` in this scope [INFO] [stdout] --> tests/rlp.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, PartialEq, RlpEncodable, RlpDecodable, RlpMaxEncodedLen)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RlpMaxEncodedLen` in this scope [INFO] [stdout] --> tests/rlp.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, PartialEq, RlpEncodable, RlpDecodable, RlpMaxEncodedLen)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RlpEncodableWrapper` in this scope [INFO] [stdout] --> tests/rlp.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, PartialEq, RlpEncodableWrapper, RlpDecodableWrapper)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RlpDecodableWrapper` in this scope [INFO] [stdout] --> tests/rlp.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, PartialEq, RlpEncodableWrapper, RlpDecodableWrapper)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RlpEncodable` in this scope [INFO] [stdout] --> tests/rlp.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug, PartialEq, RlpEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Item: open_fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | let out = encoded(&item); [INFO] [stdout] | ------- ^^^^^ the trait `open_fastrlp::Encodable` is not implemented for `Item` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `open_fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] BytesMut [INFO] [stdout] [u8; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn encoded(t: &T) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `encoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Item: open_fastrlp::Decodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let decoded = Decodable::decode(&mut &*expected).expect("decode failure"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `open_fastrlp::Decodable` is not implemented for `Item` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `open_fastrlp::Decodable`: [INFO] [stdout] BytesMut [INFO] [stdout] [u8; N] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] u32 [INFO] [stdout] u64 [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test4Numbers: open_fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | let out = encoded(&item); [INFO] [stdout] | ------- ^^^^^ the trait `open_fastrlp::Encodable` is not implemented for `Test4Numbers` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `open_fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] BytesMut [INFO] [stdout] [u8; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn encoded(t: &T) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `encoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test4Numbers: MaxEncodedLen<_>` is not satisfied [INFO] [stdout] --> tests/rlp.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | let out = open_fastrlp::encode_fixed_size(&item); [INFO] [stdout] | ------------------------------- ^^^^^ the trait `MaxEncodedLen<_>` is not implemented for `Test4Numbers` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `MaxEncodedLen`: [INFO] [stdout] `bool` implements `MaxEncodedLen` [INFO] [stdout] `u128` implements `MaxEncodedLen` [INFO] [stdout] `u16` implements `MaxEncodedLen` [INFO] [stdout] `u32` implements `MaxEncodedLen` [INFO] [stdout] `u64` implements `MaxEncodedLen` [INFO] [stdout] `u8` implements `MaxEncodedLen` [INFO] [stdout] `usize` implements `MaxEncodedLen` [INFO] [stdout] note: required by a bound in `encode_fixed_size` [INFO] [stdout] --> /opt/rustwide/workdir/src/encode.rs:320:29 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn encode_fixed_size, const LEN: usize>(v: &E) -> ArrayVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `encode_fixed_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test4Numbers: open_fastrlp::Decodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let decoded = Decodable::decode(&mut &*expected).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `open_fastrlp::Decodable` is not implemented for `Test4Numbers` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `open_fastrlp::Decodable`: [INFO] [stdout] BytesMut [INFO] [stdout] [u8; N] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] u32 [INFO] [stdout] u64 [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test4NumbersGenerics<'_, _>: open_fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | encoded(&Test4NumbersGenerics { a: item.a, b: item.b, c: &item.c, d: &item.d }), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `open_fastrlp::Encodable` is not implemented for `Test4NumbersGenerics<'_, _>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `open_fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] BytesMut [INFO] [stdout] [u8; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn encoded(t: &T) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `encoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `W: open_fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(encoded(&W(item)), expected); [INFO] [stdout] | ------- ^^^^^^^^ the trait `open_fastrlp::Encodable` is not implemented for `W` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `open_fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] BytesMut [INFO] [stdout] [u8; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] and 4 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn encoded(t: &T) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `encoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/decode.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | assert_eq!(input, &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `W` in the current scope [INFO] [stdout] --> tests/rlp.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct W(Test4Numbers); [INFO] [stdout] | ------------ function or associated item `decode` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 81 | assert_eq!(W::decode(&mut &*expected).unwrap().0, decoded); [INFO] [stdout] | ^^^^^^ function or associated item not found in `W` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `open_fastrlp::Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Test4Numbers` in the current scope [INFO] [stdout] --> tests/rlp.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 12 | struct Test4Numbers { [INFO] [stdout] | ------------------- function or associated item `decode` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(Test4Numbers::decode(&mut sl), Err(DecodeError::InputTooShort)); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Test4Numbers` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `decode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `open_fastrlp::Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/decode.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | assert_eq!(input, &[]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `u8: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for u8; [INFO] [stdout] - impl PartialEq for u8; [INFO] [stdout] = note: required for `[u8]` to implement `PartialEq<[_; 0]>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `&[u8]` to implement `PartialEq<&[_; 0]>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `open-fastrlp` (test "rlp") due to 18 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Vec` in the current scope [INFO] [stdout] --> src/decode.rs:385:39 [INFO] [stdout] | [INFO] [stdout] 385 | assert_eq!(vec::Vec::::decode(&mut input), expected); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Vec` consider using one of the following associated functions: [INFO] [stdout] Vec::::new [INFO] [stdout] Vec::::with_capacity [INFO] [stdout] Vec::::try_with_capacity [INFO] [stdout] Vec::::from_raw_parts [INFO] [stdout] and 6 others [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/vec/mod.rs:459:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `decode::Decodable` defines an item `decode`, perhaps you need to implement it [INFO] [stdout] --> src/decode.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Decodable: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_u256` found for type `u8` in the current scope [INFO] [stdout] --> src/decode.rs:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | (Ok(9_u8.as_u256()), &hex!("09")[..]), [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_u256` found for type `u8` in the current scope [INFO] [stdout] --> src/decode.rs:438:22 [INFO] [stdout] | [INFO] [stdout] 438 | (Ok(0_u8.as_u256()), &hex!("80")[..]), [INFO] [stdout] | ^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_u256` found for type `u16` in the current scope [INFO] [stdout] --> src/decode.rs:439:28 [INFO] [stdout] | [INFO] [stdout] 439 | (Ok(0x0505_u16.as_u256()), &hex!("820505")[..]), [INFO] [stdout] | ^^^^^^^ method not found in `u16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_u256` found for type `u64` in the current scope [INFO] [stdout] --> src/decode.rs:440:34 [INFO] [stdout] | [INFO] [stdout] 440 | (Ok(0xCE05050505_u64.as_u256()), &hex!("85CE05050505")[..]), [INFO] [stdout] | ^^^^^^^ method not found in `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_u256` found for type `u128` in the current scope [INFO] [stdout] --> src/decode.rs:441:45 [INFO] [stdout] | [INFO] [stdout] 441 | (Ok(0xFFFFFFFFFFFFFFFFFF7C_u128.as_u256()), &hex!("8AFFFFFFFFFFFFFFFFFF7C")[..]), [INFO] [stdout] | ^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `Vec` in the current scope [INFO] [stdout] --> src/encode.rs:353:34 [INFO] [stdout] | [INFO] [stdout] 353 | assert_eq!(out1.len(), v.length()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `encode::Encodable` defines an item `length`, perhaps you need to implement it [INFO] [stdout] --> src/encode.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might have meant to use `len` [INFO] [stdout] | [INFO] [stdout] 353 - assert_eq!(out1.len(), v.length()); [INFO] [stdout] 353 + assert_eq!(out1.len(), v.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `Vec` in the current scope [INFO] [stdout] --> src/encode.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | v.encode(&mut out2); [INFO] [stdout] | ^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `encode::Encodable` defines an item `encode`, perhaps you need to implement it [INFO] [stdout] --> src/encode.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `open-fastrlp` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "8679fb659f74e360cf06e375b7c5ccd7ec3b1cadcd368a644716bf7019df846a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8679fb659f74e360cf06e375b7c5ccd7ec3b1cadcd368a644716bf7019df846a", kill_on_drop: false }` [INFO] [stdout] 8679fb659f74e360cf06e375b7c5ccd7ec3b1cadcd368a644716bf7019df846a