[INFO] fetching crate jam-codec 0.1.1... [INFO] checking jam-codec-0.1.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate jam-codec 0.1.1 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jam-codec 0.1.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_arbitrary v1.4.0 [INFO] [stderr] Downloaded wyz v0.5.0 [INFO] [stderr] Downloaded typenum v1.14.0 [INFO] [stderr] Downloaded jam-codec-derive v0.1.1 [INFO] [stderr] Downloaded toml_writer v1.0.0 [INFO] [stderr] Downloaded toml_parser v1.0.0 [INFO] [stderr] Downloaded toml v0.9.0 [INFO] [stderr] Downloaded rustix v0.37.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49eb4a6b14050bb4892fd8abbfa0fc3c1d27ea063e58b4ecf8ff8004690db837 [INFO] running `Command { std: "docker" "start" "-a" "49eb4a6b14050bb4892fd8abbfa0fc3c1d27ea063e58b4ecf8ff8004690db837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49eb4a6b14050bb4892fd8abbfa0fc3c1d27ea063e58b4ecf8ff8004690db837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49eb4a6b14050bb4892fd8abbfa0fc3c1d27ea063e58b4ecf8ff8004690db837", kill_on_drop: false }` [INFO] [stdout] 49eb4a6b14050bb4892fd8abbfa0fc3c1d27ea063e58b4ecf8ff8004690db837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 733660fb371183d589b8873e8f48a8f69871aa05d1222ef3393c7d20c1f54151 [INFO] running `Command { std: "docker" "start" "-a" "733660fb371183d589b8873e8f48a8f69871aa05d1222ef3393c7d20c1f54151", kill_on_drop: false }` [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] Checking getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling rustix v0.37.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking itoa v1.0.8 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking linux-raw-sys v0.3.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling jam-codec v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking toml_writer v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking toml_parser v1.0.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking clap v4.5.28 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking tempfile v3.5.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.111 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking toml v0.9.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive` [INFO] [stdout] --> tests/mem_tracking.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | 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/bitflags.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use jam_codec_derive::{Decode, 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] 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[E0432]: unresolved import `jam_codec_derive` [INFO] [stdout] --> tests/chain-error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use jam_codec_derive::Decode as DeriveDecode; [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] [stderr] error: could not compile `jam-codec` (test "clippy") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jam-codec` (test "type_inference") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `jam_codec_derive` [INFO] [stdout] --> tests/type_inference.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jam-codec` (test "bitflags") due to 1 previous error [INFO] [stdout] error[E0277]: the trait bound `ComplexStruct: DecodeWithMemTracking` is not satisfied [INFO] [stdout] --> tests/mem_tracking.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 116 | assert!(decode_object( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 117 | / ComplexStruct { [INFO] [stdout] 118 | | test_enum: TestEnum::Array([0; 1000]), [INFO] [stdout] 119 | | boxed_test_enum: Box::new(TestEnum::Empty), [INFO] [stdout] 120 | | box_field: Box::new(1), [INFO] [stdout] 121 | | vec: vec![1; 10], [INFO] [stdout] 122 | | }, [INFO] [stdout] | |_________^ the trait `DecodeWithMemTracking` is not implemented for `ComplexStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeWithMemTracking`: [INFO] [stdout] () [INFO] [stdout] (TupleElement0, TupleElement1) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, TupleElement3) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, ..., ..., ..., ...) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, ..., ..., ..., ..., ...) [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `decode_object` [INFO] [stdout] --> tests/mem_tracking.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 46 | fn decode_object(obj: T, mem_limit: usize, expected_used_mem: usize) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: Encode + DecodeWithMemTracking + DecodeWithMemLimit + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `decode_object` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mem_tracking-35559b9ebe216e94.long-type-12504201291609061461.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexStruct: Encode` is not satisfied [INFO] [stdout] --> tests/mem_tracking.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 116 | assert!(decode_object( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 117 | / ComplexStruct { [INFO] [stdout] 118 | | test_enum: TestEnum::Array([0; 1000]), [INFO] [stdout] 119 | | boxed_test_enum: Box::new(TestEnum::Empty), [INFO] [stdout] 120 | | box_field: Box::new(1), [INFO] [stdout] 121 | | vec: vec![1; 10], [INFO] [stdout] 122 | | }, [INFO] [stdout] | |_________^ the trait `WrapperTypeEncode` is not implemented for `ComplexStruct` [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 `ComplexStruct` to implement `Encode` [INFO] [stdout] note: required by a bound in `decode_object` [INFO] [stdout] --> tests/mem_tracking.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn decode_object(obj: T, mem_limit: usize, expected_used_mem: usize) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: Encode + DecodeWithMemTracking + DecodeWithMemLimit + PartialEq + Debug, [INFO] [stdout] | ^^^^^^ required by this bound in `decode_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexStruct: DecodeWithMemTracking` is not satisfied [INFO] [stdout] --> tests/mem_tracking.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 139 | decode_object( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 140 | / ComplexStruct { [INFO] [stdout] 141 | | test_enum: TestEnum::Array([0; 1000]), [INFO] [stdout] 142 | | boxed_test_enum: Box::new(TestEnum::Empty), [INFO] [stdout] 143 | | box_field: Box::new(1), [INFO] [stdout] 144 | | vec: vec![1; 10], [INFO] [stdout] 145 | | }, [INFO] [stdout] | |_____________^ the trait `DecodeWithMemTracking` is not implemented for `ComplexStruct` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `DecodeWithMemTracking`: [INFO] [stdout] () [INFO] [stdout] (TupleElement0, TupleElement1) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, TupleElement3) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, ..., ..., ..., ...) [INFO] [stdout] (TupleElement0, TupleElement1, TupleElement2, ..., ..., ..., ..., ...) [INFO] [stdout] and 60 others [INFO] [stdout] note: required by a bound in `decode_object` [INFO] [stdout] --> tests/mem_tracking.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 46 | fn decode_object(obj: T, mem_limit: usize, expected_used_mem: usize) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: Encode + DecodeWithMemTracking + DecodeWithMemLimit + PartialEq + Debug, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `decode_object` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mem_tracking-35559b9ebe216e94.long-type-12504201291609061461.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ComplexStruct: Encode` is not satisfied [INFO] [stdout] --> tests/mem_tracking.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 139 | decode_object( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 140 | / ComplexStruct { [INFO] [stdout] 141 | | test_enum: TestEnum::Array([0; 1000]), [INFO] [stdout] 142 | | boxed_test_enum: Box::new(TestEnum::Empty), [INFO] [stdout] 143 | | box_field: Box::new(1), [INFO] [stdout] 144 | | vec: vec![1; 10], [INFO] [stdout] 145 | | }, [INFO] [stdout] | |_____________^ the trait `WrapperTypeEncode` is not implemented for `ComplexStruct` [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 `ComplexStruct` to implement `Encode` [INFO] [stdout] note: required by a bound in `decode_object` [INFO] [stdout] --> tests/mem_tracking.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn decode_object(obj: T, mem_limit: usize, expected_used_mem: usize) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 47 | where [INFO] [stdout] 48 | T: Encode + DecodeWithMemTracking + DecodeWithMemLimit + PartialEq + Debug, [INFO] [stdout] | ^^^^^^ required by this bound in `decode_object` [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] [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 function or associated item `decode` exists for struct `Wrapper`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 19 | struct Wrapper(T); [INFO] [stdout] | ----------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Wrapper: Decode` or `Wrapper: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 44 | Wrapper::::decode(&mut &encoded[..]).unwrap_err().to_string(), [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Wrapper` 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 `Wrapper: Decode` [INFO] [stdout] `Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `Wrapper: Decode` [INFO] [stdout] `<&Wrapper as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Wrapper: Decode` [INFO] [stdout] `&Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `&Wrapper: Decode` [INFO] [stdout] `<&mut Wrapper as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Wrapper: Decode` [INFO] [stdout] `&mut Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Wrapper: 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] [stderr] error: could not compile `jam-codec` (test "mem_tracking") due to 5 previous errors [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 function or associated item `decode` exists for struct `Wrapper`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 19 | struct Wrapper(T); [INFO] [stdout] | ----------------- function or associated item `decode` not found for this struct because it doesn't satisfy `<_ as WrapperTypeDecode>::Wrapped = _`, `Wrapper: Decode` or `Wrapper: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 58 | Wrapper::::decode(&mut &encoded[..]).unwrap_err().to_string(), [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `Wrapper` 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 `Wrapper: Decode` [INFO] [stdout] `Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `Wrapper: Decode` [INFO] [stdout] `<&Wrapper as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&Wrapper: Decode` [INFO] [stdout] `&Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `&Wrapper: Decode` [INFO] [stdout] `<&mut Wrapper as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut Wrapper: Decode` [INFO] [stdout] `&mut Wrapper: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut Wrapper: 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 `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 variant or associated item `decode` exists for enum `E`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 30 | enum E { [INFO] [stdout] | ------ variant or associated item `decode` not found for this enum because it doesn't satisfy `::Wrapped = _`, `E: Decode` or `E: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(E::decode(&mut &encoded[..]).unwrap_err().to_string(), String::from(err),); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `E` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `E: WrapperTypeDecode` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `<&E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `&E: WrapperTypeDecode` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `<&mut E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut E: Decode` [INFO] [stdout] `&mut E: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut E: 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 `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 variant or associated item `decode` exists for enum `E`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 30 | enum E { [INFO] [stdout] | ------ variant or associated item `decode` not found for this enum because it doesn't satisfy `::Wrapped = _`, `E: Decode` or `E: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 78 | assert_eq!(E::decode(&mut &encoded[..]).unwrap_err().to_string(), String::from(err),); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `E` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `E: WrapperTypeDecode` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `<&E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `&E: WrapperTypeDecode` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `<&mut E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut E: Decode` [INFO] [stdout] `&mut E: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut E: 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 `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 variant or associated item `decode` exists for enum `E`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/chain-error.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 30 | enum E { [INFO] [stdout] | ------ variant or associated item `decode` not found for this enum because it doesn't satisfy `::Wrapped = _`, `E: Decode` or `E: WrapperTypeDecode` [INFO] [stdout] ... [INFO] [stdout] 88 | assert_eq!(E::decode(&mut &encoded[..]).unwrap_err().to_string(), String::from(err),); [INFO] [stdout] | ^^^^^^ variant or associated item cannot be called on `E` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Wrapped = _` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `E: WrapperTypeDecode` [INFO] [stdout] which is required by `E: Decode` [INFO] [stdout] `<&E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `&E: WrapperTypeDecode` [INFO] [stdout] which is required by `&E: Decode` [INFO] [stdout] `<&mut E as WrapperTypeDecode>::Wrapped = _` [INFO] [stdout] which is required by `&mut E: Decode` [INFO] [stdout] `&mut E: WrapperTypeDecode` [INFO] [stdout] which is required by `&mut E: 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 `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] [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] [stderr] error: could not compile `jam-codec` (test "chain-error") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "733660fb371183d589b8873e8f48a8f69871aa05d1222ef3393c7d20c1f54151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "733660fb371183d589b8873e8f48a8f69871aa05d1222ef3393c7d20c1f54151", kill_on_drop: false }` [INFO] [stdout] 733660fb371183d589b8873e8f48a8f69871aa05d1222ef3393c7d20c1f54151