[INFO] fetching crate jam-codec 0.1.1... [INFO] testing jam-codec-0.1.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate jam-codec 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate jam-codec 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jam-codec 0.1.1 [INFO] tweaked toml for crates.io crate jam-codec 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jam-codec 0.1.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jam-codec 0.1.1 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_spanned v1.0.0 [INFO] [stderr] Downloaded toml_writer v1.0.0 [INFO] [stderr] Downloaded target-triple v0.1.3 [INFO] [stderr] Downloaded itoa v1.0.8 [INFO] [stderr] Downloaded toml v0.9.0 [INFO] [stderr] Downloaded jam-codec-derive v0.1.1 [INFO] [stderr] Downloaded trybuild v1.0.110 [INFO] [stderr] Downloaded byte-slice-cast v1.2.3 [INFO] [stderr] Downloaded derive_arbitrary v1.4.0 [INFO] [stderr] Downloaded toml_parser v1.0.0 [INFO] [stderr] Downloaded wyz v0.5.0 [INFO] [stderr] Downloaded criterion-plot v0.6.0 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.34 [INFO] [stderr] Downloaded clap v4.5.28 [INFO] [stderr] Downloaded const_format v0.2.34 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded typenum v1.14.0 [INFO] [stderr] Downloaded criterion v0.7.0 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] [stderr] Downloaded serde_json v1.0.111 [INFO] [stderr] Downloaded tempfile v3.5.0 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded proptest v1.7.0 [INFO] [stderr] Downloaded ciborium v0.2.0 [INFO] [stderr] Downloaded io-lifetimes v1.0.10 [INFO] [stderr] Downloaded rustix v0.37.25 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.3 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded toml_datetime v0.7.0 [INFO] [stderr] Downloaded ciborium-io v0.2.0 [INFO] [stderr] Downloaded ciborium-ll v0.2.0 [INFO] [stderr] Downloaded linux-raw-sys v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 650e910fd94234c1799e7db2e4b31dbef5a25e4e062908057284d3f06bd4c901 [INFO] running `Command { std: "docker" "start" "-a" "650e910fd94234c1799e7db2e4b31dbef5a25e4e062908057284d3f06bd4c901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "650e910fd94234c1799e7db2e4b31dbef5a25e4e062908057284d3f06bd4c901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "650e910fd94234c1799e7db2e4b31dbef5a25e4e062908057284d3f06bd4c901", kill_on_drop: false }` [INFO] [stdout] 650e910fd94234c1799e7db2e4b31dbef5a25e4e062908057284d3f06bd4c901 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15cea064b7d842f545bc2b7de46b0fa7faaa3712d8ab339255f063a2f059db1d [INFO] running `Command { std: "docker" "start" "-a" "15cea064b7d842f545bc2b7de46b0fa7faaa3712d8ab339255f063a2f059db1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling jam-codec v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.48s [INFO] running `Command { std: "docker" "inspect" "15cea064b7d842f545bc2b7de46b0fa7faaa3712d8ab339255f063a2f059db1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15cea064b7d842f545bc2b7de46b0fa7faaa3712d8ab339255f063a2f059db1d", kill_on_drop: false }` [INFO] [stdout] 15cea064b7d842f545bc2b7de46b0fa7faaa3712d8ab339255f063a2f059db1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfc1150293458a2809e1bfb0d47e793f1ee89a8e24ae080656440f8f7a476400 [INFO] running `Command { std: "docker" "start" "-a" "bfc1150293458a2809e1bfb0d47e793f1ee89a8e24ae080656440f8f7a476400", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rustix v0.37.25 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling linux-raw-sys v0.3.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Compiling ciborium-io v0.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.27 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling toml_parser v1.0.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling toml_writer v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling clap v4.5.28 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling tempfile v3.5.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling ciborium v0.2.0 [INFO] [stderr] Compiling jam-codec v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.9.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling trybuild v1.0.110 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive` [INFO] [stdout] --> tests/bounds.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use jam_codec_derive::{Decode as DeriveDecode, Encode as DeriveEncode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/bounds.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[codec(compact)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive` [INFO] [stdout] --> tests/clippy.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use jam_codec_derive::{Decode, DecodeWithMemTracking, Encode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Decode` is not satisfied [INFO] [stdout] --> tests/bounds.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | impl _IsEncodeDecode for Header {} [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `WrapperTypeDecode`: [INFO] [stdout] Arc [INFO] [stdout] Box [INFO] [stdout] Rc [INFO] [stdout] = note: required for `Header` to implement `Decode` [INFO] [stdout] note: required by a bound in `_IsEncodeDecode` [INFO] [stdout] --> tests/bounds.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | trait _IsEncodeDecode: Encode + Decode {} [INFO] [stdout] | ^^^^^^ required by this bound in `_IsEncodeDecode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Header: Encode` is not satisfied [INFO] [stdout] --> tests/bounds.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | impl _IsEncodeDecode for Header {} [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Header` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `WrapperTypeEncode`: [INFO] [stdout] &T [INFO] [stdout] &mut T [INFO] [stdout] Arc [INFO] [stdout] Box [INFO] [stdout] Cow<'_, T> [INFO] [stdout] Rc [INFO] [stdout] String [INFO] [stdout] Vec [INFO] [stdout] jam_codec::Ref<'_, T, U> [INFO] [stdout] = note: required for `Header` to implement `Encode` [INFO] [stdout] note: required by a bound in `_IsEncodeDecode` [INFO] [stdout] --> tests/bounds.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | trait _IsEncodeDecode: Encode + Decode {} [INFO] [stdout] | ^^^^^^ required by this bound in `_IsEncodeDecode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive` [INFO] [stdout] --> tests/size_hint.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jam_codec_derive::Encode as DeriveEncode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jam-codec` (test "bounds") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jam-codec` (test "clippy") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive` [INFO] [stdout] --> tests/skip.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jam_codec_derive::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive` [INFO] [stdout] --> tests/skip.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | use jam_codec_derive::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jam_codec_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jam_codec_derive`, use `cargo add jam_codec_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/size_hint.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/size_hint.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | struct Tuple(String, Vec, #[codec(skip)] u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/size_hint.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | #[codec(index = 15)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | C(#[codec(skip)] T, u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | struct StructUnnamed(#[codec(skip)] T, u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/skip.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | #[codec(skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `Struct, u32>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/size_hint.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 7 | struct Struct { [INFO] [stdout] | ---------------------- method `size_hint` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `Struct, u32>: Encode` or `Struct, u32>: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 15 | assert_eq!(v.size_hint(), 23); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Struct, u32>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `, u32> as Deref>::Target = _` [INFO] [stdout] which is required by `Struct, u32>: Encode` [INFO] [stdout] `Struct, u32>: WrapperTypeEncode` [INFO] [stdout] which is required by `Struct, u32>: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 traits define an item `size_hint`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `itertools::merge_join::OrderingOrBool` [INFO] [stdout] candidate #4: `serde::de::MapAccess` [INFO] [stdout] candidate #5: `serde::de::SeqAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `size_hint_for_tuple_struct::Tuple`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/size_hint.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 21 | struct Tuple(String, Vec, #[codec(skip)] u32); [INFO] [stdout] | ------------ method `size_hint` not found for this struct because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: WrapperTypeEncode` or `size_hint_for_tuple_struct::Tuple: Encode` [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(v.size_hint(), 23); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `size_hint_for_tuple_struct::Tuple` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `size_hint_for_tuple_struct::Tuple: Encode` [INFO] [stdout] `size_hint_for_tuple_struct::Tuple: WrapperTypeEncode` [INFO] [stdout] which is required by `size_hint_for_tuple_struct::Tuple: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 traits define an item `size_hint`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `itertools::merge_join::OrderingOrBool` [INFO] [stdout] candidate #4: `serde::de::MapAccess` [INFO] [stdout] candidate #5: `serde::de::SeqAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `size_hint` exists for struct `Unit`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/size_hint.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 30 | struct Unit; [INFO] [stdout] | ----------- method `size_hint` not found for this struct because it doesn't satisfy `::Target = _`, `Unit: Encode` or `Unit: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 33 | assert_eq!(v.size_hint(), 0); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Unit` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `Unit: Encode` [INFO] [stdout] `Unit: WrapperTypeEncode` [INFO] [stdout] which is required by `Unit: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 traits define an item `size_hint`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `itertools::merge_join::OrderingOrBool` [INFO] [stdout] candidate #4: `serde::de::MapAccess` [INFO] [stdout] candidate #5: `serde::de::SeqAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/size_hint.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 39 | enum EnumType { [INFO] [stdout] | ------------- method `size_hint` not found for this enum because it doesn't satisfy `::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 50 | assert_eq!(v.size_hint(), 1); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] `EnumType: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 traits define an item `size_hint`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `itertools::merge_join::OrderingOrBool` [INFO] [stdout] candidate #4: `serde::de::MapAccess` [INFO] [stdout] candidate #5: `serde::de::SeqAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/size_hint.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 39 | enum EnumType { [INFO] [stdout] | ------------- method `size_hint` not found for this enum because it doesn't satisfy `::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 53 | assert_eq!(v.size_hint(), 13); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] `EnumType: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 traits define an item `size_hint`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `itertools::merge_join::OrderingOrBool` [INFO] [stdout] candidate #4: `serde::de::MapAccess` [INFO] [stdout] candidate #5: `serde::de::SeqAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumType`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/size_hint.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 39 | enum EnumType { [INFO] [stdout] | ------------- method `size_hint` not found for this enum because it doesn't satisfy `::Target = _`, `EnumType: Encode` or `EnumType: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(v.size_hint(), 13); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `EnumType` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] `EnumType: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumType: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 traits define an item `size_hint`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `itertools::merge_join::OrderingOrBool` [INFO] [stdout] candidate #4: `serde::de::MapAccess` [INFO] [stdout] candidate #5: `serde::de::SeqAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/size_hint.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(v.size_hint(), discriminant); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 traits define an item `size_hint`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `itertools::merge_join::OrderingOrBool` [INFO] [stdout] candidate #4: `serde::de::MapAccess` [INFO] [stdout] candidate #5: `serde::de::SeqAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/size_hint.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(v.size_hint(), discriminant); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 traits define an item `size_hint`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `itertools::merge_join::OrderingOrBool` [INFO] [stdout] candidate #4: `serde::de::MapAccess` [INFO] [stdout] candidate #5: `serde::de::SeqAccess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `size_hint` exists for enum `EnumWithDiscriminant`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/size_hint.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 62 | enum EnumWithDiscriminant { [INFO] [stdout] | ------------------------- method `size_hint` not found for this enum because it doesn't satisfy `::Target = _`, `EnumWithDiscriminant: Encode` or `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 77 | assert_eq!(v.size_hint(), discriminant); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `EnumWithDiscriminant` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] `EnumWithDiscriminant: WrapperTypeEncode` [INFO] [stdout] which is required by `EnumWithDiscriminant: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 traits define an item `size_hint`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] candidate #2: `Iterator` [INFO] [stdout] candidate #3: `itertools::merge_join::OrderingOrBool` [INFO] [stdout] candidate #4: `serde::de::MapAccess` [INFO] [stdout] candidate #5: `serde::de::SeqAccess` [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] [stderr] error: could not compile `jam-codec` (test "size_hint") due to 13 previous errors [INFO] [stdout] error[E0599]: the method `encode` exists for enum `enum_struct_test::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 20 | enum Enum { [INFO] [stdout] | ---------------------------------------------------- method `encode` not found for this enum because it doesn't satisfy `::Target = _`, `enum_struct_test::Enum: Encode` or `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 47 | assert_eq!(ea.encode(), Vec::new()); [INFO] [stdout] | ^^^^^^ method cannot be called on `enum_struct_test::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `enum_struct_test::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 20 | enum Enum { [INFO] [stdout] | ---------------------------------------------------- method `encode` not found for this enum because it doesn't satisfy `::Target = _`, `enum_struct_test::Enum: Encode` or `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 49 | let mut eb_encoded: &[u8] = &eb.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `enum_struct_test::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `enum_struct_test::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 20 | enum Enum { [INFO] [stdout] | ---------------------------------------------------- method `encode` not found for this enum because it doesn't satisfy `::Target = _`, `enum_struct_test::Enum: Encode` or `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 50 | let mut ec_encoded: &[u8] = &ec.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `enum_struct_test::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] `enum_struct_test::Enum: WrapperTypeEncode` [INFO] [stdout] which is required by `enum_struct_test::Enum: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `StructNamed`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 32 | struct StructNamed { [INFO] [stdout] | ----------------------------------- method `encode` not found for this struct because it doesn't satisfy `::Target = _`, `StructNamed: Encode` or `StructNamed: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 51 | let mut sn_encoded: &[u8] = &sn.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `StructNamed` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `StructNamed: Encode` [INFO] [stdout] `StructNamed: WrapperTypeEncode` [INFO] [stdout] which is required by `StructNamed: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for struct `StructUnnamed`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 39 | struct StructUnnamed(#[codec(skip)] T, u32); [INFO] [stdout] | ------------------------------------- method `encode` not found for this struct because it doesn't satisfy `::Target = _`, `StructUnnamed: Encode` or `StructUnnamed: WrapperTypeEncode` [INFO] [stdout] ... [INFO] [stdout] 52 | let mut su_encoded: &[u8] = &su.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `StructUnnamed` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `StructUnnamed: Encode` [INFO] [stdout] `StructUnnamed: WrapperTypeEncode` [INFO] [stdout] which is required by `StructUnnamed: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `enum_struct_test::Enum<_, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 20 | enum Enum { [INFO] [stdout] | ---------------------------------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `enum_struct_test::Enum<_, _>: Decode` or `enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 54 | assert_eq!(Enum::decode(&mut eb_encoded).unwrap(), eb); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `enum_struct_test::Enum<_, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `<&enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `&enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `<&mut enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `&mut enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:521:1 [INFO] [stdout] | [INFO] [stdout] 521 | pub trait WrapperTypeDecode: Sized { [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: `Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `decode` exists for enum `enum_struct_test::Enum<_, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 20 | enum Enum { [INFO] [stdout] | ---------------------------------------------------- variant or associated item `decode` not found for this enum because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `enum_struct_test::Enum<_, _>: Decode` or `enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 55 | assert_eq!(Enum::decode(&mut ec_encoded).unwrap(), ec); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `enum_struct_test::Enum<_, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `<&enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `&enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `<&mut enum_struct_test::Enum<_, _> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] `&mut enum_struct_test::Enum<_, _>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut enum_struct_test::Enum<_, _>: Decode` [INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:521:1 [INFO] [stdout] | [INFO] [stdout] 521 | pub trait WrapperTypeDecode: Sized { [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: `Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `StructNamed<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 32 | struct StructNamed { [INFO] [stdout] | ----------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy ` as WrapperTypeDecode>::Wrapped = _`, `StructNamed<_>: Decode` or `StructNamed<_>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(StructNamed::decode(&mut sn_encoded).unwrap(), sn); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `StructNamed<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `StructNamed<_>: Decode` [INFO] [stdout] `StructNamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `StructNamed<_>: Decode` [INFO] [stdout] `<&StructNamed<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&StructNamed<_>: Decode` [INFO] [stdout] `&StructNamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&StructNamed<_>: Decode` [INFO] [stdout] `<&mut StructNamed<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut StructNamed<_>: Decode` [INFO] [stdout] `&mut StructNamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut StructNamed<_>: Decode` [INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:521:1 [INFO] [stdout] | [INFO] [stdout] 521 | pub trait WrapperTypeDecode: Sized { [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: `Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `decode` exists for struct `StructUnnamed<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 39 | struct StructUnnamed(#[codec(skip)] T, u32); [INFO] [stdout] | ------------------------------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `StructUnnamed<_>: Decode` or `StructUnnamed<_>: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 57 | assert_eq!(StructUnnamed::decode(&mut su_encoded).unwrap(), su); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `StructUnnamed<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `StructUnnamed<_>: Decode` [INFO] [stdout] `StructUnnamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `StructUnnamed<_>: Decode` [INFO] [stdout] `<&StructUnnamed<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&StructUnnamed<_>: Decode` [INFO] [stdout] `&StructUnnamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&StructUnnamed<_>: Decode` [INFO] [stdout] `<&mut StructUnnamed<_> as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut StructUnnamed<_>: Decode` [INFO] [stdout] `&mut StructUnnamed<_>: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut StructUnnamed<_>: Decode` [INFO] [stdout] note: the trait `WrapperTypeDecode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:521:1 [INFO] [stdout] | [INFO] [stdout] 521 | pub trait WrapperTypeDecode: Sized { [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: `Decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `encode` exists for enum `skip_enum_struct_inner_variant::Enum`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/skip.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 66 | enum Enum { [INFO] [stdout] | --------- method `encode` not found for this enum because it doesn't satisfy `<_ as __Deref>::Target = _`, `_: WrapperTypeEncode` or `skip_enum_struct_inner_variant::Enum: Encode` [INFO] [stdout] ... [INFO] [stdout] 74 | let encoded = Enum::Data { some_named: 1, ignore: Some(1) }.encode(); [INFO] [stdout] | ^^^^^^ method cannot be called on `skip_enum_struct_inner_variant::Enum` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Target = _` [INFO] [stdout] which is required by `skip_enum_struct_inner_variant::Enum: Encode` [INFO] [stdout] `skip_enum_struct_inner_variant::Enum: WrapperTypeEncode` [INFO] [stdout] which is required by `skip_enum_struct_inner_variant::Enum: Encode` [INFO] [stdout] note: the trait `WrapperTypeEncode` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/codec.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | pub trait WrapperTypeEncode: Deref {} [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 `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Encode` [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] [stderr] error: could not compile `jam-codec` (test "skip") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "bfc1150293458a2809e1bfb0d47e793f1ee89a8e24ae080656440f8f7a476400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc1150293458a2809e1bfb0d47e793f1ee89a8e24ae080656440f8f7a476400", kill_on_drop: false }` [INFO] [stdout] bfc1150293458a2809e1bfb0d47e793f1ee89a8e24ae080656440f8f7a476400