[INFO] fetching crate fastrlp 0.4.0... [INFO] testing fastrlp-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate fastrlp 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate fastrlp 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fastrlp 0.4.0 [INFO] tweaked toml for crates.io crate fastrlp 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fastrlp 0.4.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.6.0) [INFO] [stderr] Adding hex-literal v0.4.1 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethbloom v0.14.1 [INFO] [stderr] Downloaded ethereum-types v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ce438678714845e231be152796d2f5779a60cc56237ce53beb2207f612ea3fd [INFO] running `Command { std: "docker" "start" "-a" "3ce438678714845e231be152796d2f5779a60cc56237ce53beb2207f612ea3fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ce438678714845e231be152796d2f5779a60cc56237ce53beb2207f612ea3fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ce438678714845e231be152796d2f5779a60cc56237ce53beb2207f612ea3fd", kill_on_drop: false }` [INFO] [stdout] 3ce438678714845e231be152796d2f5779a60cc56237ce53beb2207f612ea3fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7a3370d5e9989920dc57c86d029485b7382ccc4197fb90e52122de4df27450d4 [INFO] running `Command { std: "docker" "start" "-a" "7a3370d5e9989920dc57c86d029485b7382ccc4197fb90e52122de4df27450d4", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling fastrlp v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.91s [INFO] running `Command { std: "docker" "inspect" "7a3370d5e9989920dc57c86d029485b7382ccc4197fb90e52122de4df27450d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a3370d5e9989920dc57c86d029485b7382ccc4197fb90e52122de4df27450d4", kill_on_drop: false }` [INFO] [stdout] 7a3370d5e9989920dc57c86d029485b7382ccc4197fb90e52122de4df27450d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e4f131c9d862cb25b98454dc1c1ea16d8c7915814b6275e266d8431607fe7663 [INFO] running `Command { std: "docker" "start" "-a" "e4f131c9d862cb25b98454dc1c1ea16d8c7915814b6275e266d8431607fe7663", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling fastrlp v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `ethereum_types` [INFO] [stdout] --> src/decode.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | 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] --> tests/rlp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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 `ethnum` [INFO] [stdout] --> src/decode.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | 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 `Encodable` in this scope [INFO] [stdout] --> tests/rlp.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Encodable, Decodable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Encodable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/rlp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastrlp::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Decodable` in this scope [INFO] [stdout] --> tests/rlp.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Encodable, Decodable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Decodable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/rlp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastrlp::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encodable` in this scope [INFO] [stdout] --> tests/rlp.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq, Encodable, Decodable, MaxEncodedLen)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Encodable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/rlp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastrlp::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Decodable` in this scope [INFO] [stdout] --> tests/rlp.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq, Encodable, Decodable, MaxEncodedLen)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Decodable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/rlp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastrlp::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `MaxEncodedLen` in this scope [INFO] [stdout] --> tests/rlp.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, PartialEq, Encodable, Decodable, MaxEncodedLen)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MaxEncodedLen` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/rlp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastrlp::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `EncodableWrapper` in this scope [INFO] [stdout] --> tests/rlp.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, PartialEq, EncodableWrapper, DecodableWrapper)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `DecodableWrapper` in this scope [INFO] [stdout] --> tests/rlp.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, PartialEq, EncodableWrapper, DecodableWrapper)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encodable` in this scope [INFO] [stdout] --> tests/rlp.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, PartialEq, Encodable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Encodable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/rlp.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fastrlp::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Item: fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let out = encoded(&item); [INFO] [stdout] | ------- ^^^^^ the trait `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 `fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] ArrayVec [INFO] [stdout] BytesMut [INFO] [stdout] [T; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | 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: fastrlp::Decodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let decoded = Decodable::decode(&mut &*expected).expect("decode failure"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `fastrlp::Decodable` is not implemented for `Item` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `fastrlp::Decodable`: [INFO] [stdout] ArrayVec [INFO] [stdout] BytesMut [INFO] [stdout] [T; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] u32 [INFO] [stdout] and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test4Numbers: fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let out = encoded(&item); [INFO] [stdout] | ------- ^^^^^ the trait `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 `fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] ArrayVec [INFO] [stdout] BytesMut [INFO] [stdout] [T; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | 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: fastrlp::MaxEncodedLen<_>` is not satisfied [INFO] [stdout] --> tests/rlp.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | let out = fastrlp::encode_fixed_size(&item); [INFO] [stdout] | -------------------------- ^^^^^ the trait `fastrlp::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 `fastrlp::MaxEncodedLen`: [INFO] [stdout] `bool` implements `fastrlp::MaxEncodedLen` [INFO] [stdout] `u128` implements `fastrlp::MaxEncodedLen` [INFO] [stdout] `u16` implements `fastrlp::MaxEncodedLen` [INFO] [stdout] `u32` implements `fastrlp::MaxEncodedLen` [INFO] [stdout] `u64` implements `fastrlp::MaxEncodedLen` [INFO] [stdout] `u8` implements `fastrlp::MaxEncodedLen` [INFO] [stdout] `usize` implements `fastrlp::MaxEncodedLen` [INFO] [stdout] note: required by a bound in `encode_fixed_size` [INFO] [stdout] --> /opt/rustwide/workdir/src/encode.rs:375:29 [INFO] [stdout] | [INFO] [stdout] 375 | 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: fastrlp::Decodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | let decoded = Decodable::decode(&mut &*expected).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `fastrlp::Decodable` is not implemented for `Test4Numbers` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `fastrlp::Decodable`: [INFO] [stdout] ArrayVec [INFO] [stdout] BytesMut [INFO] [stdout] [T; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] u16 [INFO] [stdout] u32 [INFO] [stdout] and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Test4NumbersGenerics<'_, _>: fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | encoded(&Test4NumbersGenerics { [INFO] [stdout] | _________-------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 81 | | a: item.a, [INFO] [stdout] 82 | | b: item.b, [INFO] [stdout] 83 | | c: &item.c, [INFO] [stdout] 84 | | d: &item.d [INFO] [stdout] 85 | | }), [INFO] [stdout] | |_________^ the trait `fastrlp::Encodable` is not implemented for `Test4NumbersGenerics<'_, _>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] ArrayVec [INFO] [stdout] BytesMut [INFO] [stdout] [T; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | 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: fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(encoded(&W(item)), expected); [INFO] [stdout] | ------- ^^^^^^^^ the trait `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 `fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] ArrayVec [INFO] [stdout] BytesMut [INFO] [stdout] [T; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | fn encoded(t: &T) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `encoded` [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:90:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct W(Test4Numbers); [INFO] [stdout] | ------------ function or associated item `decode` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 90 | 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: `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:99:23 [INFO] [stdout] | [INFO] [stdout] 14 | struct Test4Numbers { [INFO] [stdout] | ------------------- function or associated item `decode` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 99 | Test4Numbers::decode(&mut sl), [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: `fastrlp::Decodable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/decode.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | 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[E0277]: the trait bound `Test4Numbers: fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | assert_eq!(encoded(&item), enc); [INFO] [stdout] | ------- ^^^^^ the trait `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 `fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] ArrayVec [INFO] [stdout] BytesMut [INFO] [stdout] [T; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | fn encoded(t: &T) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `encoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: fastrlp::Encodable` is not satisfied [INFO] [stdout] --> tests/rlp.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(encoded(&vec), enc); [INFO] [stdout] | ------- ^^^^ the trait `fastrlp::Encodable` is not implemented for `Vec` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `fastrlp::Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] &'a [u8] [INFO] [stdout] ArrayVec [INFO] [stdout] BytesMut [INFO] [stdout] [T; LEN] [INFO] [stdout] bool [INFO] [stdout] bytes::Bytes [INFO] [stdout] u128 [INFO] [stdout] and 5 others [INFO] [stdout] note: required by a bound in `encoded` [INFO] [stdout] --> tests/rlp.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | fn encoded(t: &T) -> BytesMut { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `encoded` [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:132:30 [INFO] [stdout] | [INFO] [stdout] 14 | struct Test4Numbers { [INFO] [stdout] | ------------------- function or associated item `decode` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 132 | assert_eq!(Test4Numbers::decode(&mut &*enc).unwrap(), item); [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: `fastrlp::Decodable` [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] --> tests/rlp.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(Vec::::decode(&mut &*enc).unwrap(), vec); [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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/vec/mod.rs:439:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/decode.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | 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 `fastrlp` (test "rlp") due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `Vec` in the current scope [INFO] [stdout] --> src/decode.rs:483:39 [INFO] [stdout] | [INFO] [stdout] 483 | 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/vec/mod.rs:439: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:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | 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:552:22 [INFO] [stdout] | [INFO] [stdout] 552 | (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:553:22 [INFO] [stdout] | [INFO] [stdout] 553 | (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:554:28 [INFO] [stdout] | [INFO] [stdout] 554 | (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:555:34 [INFO] [stdout] | [INFO] [stdout] 555 | (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:557:48 [INFO] [stdout] | [INFO] [stdout] 557 | Ok(0xFFFFFFFFFFFFFFFFFF7C_u128.as_u256()), [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:408:34 [INFO] [stdout] | [INFO] [stdout] 408 | 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:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might have meant to use `len` [INFO] [stdout] | [INFO] [stdout] 408 - assert_eq!(out1.len(), v.length()); [INFO] [stdout] 408 + 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:411:11 [INFO] [stdout] | [INFO] [stdout] 411 | 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:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub trait Encodable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/encode.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | / test_to_be_bytes_trimmed! { [INFO] [stdout] 603 | | 0u8 => [], [INFO] [stdout] 604 | | 0u16 => [], [INFO] [stdout] 605 | | 0u32 => [], [INFO] [stdout] ... | [INFO] [stdout] 628 | | 65536u64 => [1, 0, 0], [INFO] [stdout] 629 | | } [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` which comes from the expansion of the macro `test_to_be_bytes_trimmed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/encode.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | / test_to_be_bytes_trimmed! { [INFO] [stdout] 603 | | 0u8 => [], [INFO] [stdout] 604 | | 0u16 => [], [INFO] [stdout] 605 | | 0u32 => [], [INFO] [stdout] ... | [INFO] [stdout] 628 | | 65536u64 => [1, 0, 0], [INFO] [stdout] 629 | | } [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: this error originates in the macro `assert_eq` which comes from the expansion of the macro `test_to_be_bytes_trimmed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/encode.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | / test_to_be_bytes_trimmed! { [INFO] [stdout] 603 | | 0u8 => [], [INFO] [stdout] 604 | | 0u16 => [], [INFO] [stdout] 605 | | 0u32 => [], [INFO] [stdout] ... | [INFO] [stdout] 628 | | 65536u64 => [1, 0, 0], [INFO] [stdout] 629 | | } [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: this error originates in the macro `assert_eq` which comes from the expansion of the macro `test_to_be_bytes_trimmed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/encode.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | / test_to_be_bytes_trimmed! { [INFO] [stdout] 603 | | 0u8 => [], [INFO] [stdout] 604 | | 0u16 => [], [INFO] [stdout] 605 | | 0u32 => [], [INFO] [stdout] ... | [INFO] [stdout] 628 | | 65536u64 => [1, 0, 0], [INFO] [stdout] 629 | | } [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: this error originates in the macro `assert_eq` which comes from the expansion of the macro `test_to_be_bytes_trimmed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/encode.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | / test_to_be_bytes_trimmed! { [INFO] [stdout] 603 | | 0u8 => [], [INFO] [stdout] 604 | | 0u16 => [], [INFO] [stdout] 605 | | 0u32 => [], [INFO] [stdout] ... | [INFO] [stdout] 628 | | 65536u64 => [1, 0, 0], [INFO] [stdout] 629 | | } [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: this error originates in the macro `assert_eq` which comes from the expansion of the macro `test_to_be_bytes_trimmed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/encode.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | / test_to_be_bytes_trimmed! { [INFO] [stdout] 603 | | 0u8 => [], [INFO] [stdout] 604 | | 0u16 => [], [INFO] [stdout] 605 | | 0u32 => [], [INFO] [stdout] ... | [INFO] [stdout] 628 | | 65536u64 => [1, 0, 0], [INFO] [stdout] 629 | | } [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: this error originates in the macro `assert_eq` which comes from the expansion of the macro `test_to_be_bytes_trimmed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/encode.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | / test_to_be_bytes_trimmed! { [INFO] [stdout] 603 | | 0u8 => [], [INFO] [stdout] 604 | | 0u16 => [], [INFO] [stdout] 605 | | 0u32 => [], [INFO] [stdout] ... | [INFO] [stdout] 628 | | 65536u64 => [1, 0, 0], [INFO] [stdout] 629 | | } [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: this error originates in the macro `assert_eq` which comes from the expansion of the macro `test_to_be_bytes_trimmed` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `fastrlp` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "e4f131c9d862cb25b98454dc1c1ea16d8c7915814b6275e266d8431607fe7663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f131c9d862cb25b98454dc1c1ea16d8c7915814b6275e266d8431607fe7663", kill_on_drop: false }` [INFO] [stdout] e4f131c9d862cb25b98454dc1c1ea16d8c7915814b6275e266d8431607fe7663