[INFO] updating cached repository susytech/susy-codec [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/susytech/susy-codec [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/susytech/susy-codec" "work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/susytech/susy-codec"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/susytech/susy-codec'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/susytech/susy-codec" "work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/susytech/susy-codec"` [INFO] [stderr] Cloning into 'work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/susytech/susy-codec'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dc7fdac4ae934b389cbd1f87853f04b4281499c5 [INFO] sha for GitHub repo susytech/susy-codec: dc7fdac4ae934b389cbd1f87853f04b4281499c5 [INFO] validating manifest of susytech/susy-codec on toolchain master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of susytech/susy-codec on toolchain try#58b21121d0b447ceb3f1a655155d802191acf044 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing susytech/susy-codec [INFO] removed workspace from susytech/susy-codec [INFO] removed path dependency susy-codec-derive from susytech/susy-codec [INFO] removed path dependency susy-codec-derive from susytech/susy-codec [INFO] finished frobbing susytech/susy-codec [INFO] frobbed toml for susytech/susy-codec written to work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/susytech/susy-codec/Cargo.toml [INFO] started frobbing susytech/susy-codec [INFO] removed workspace from susytech/susy-codec [INFO] removed path dependency susy-codec-derive from susytech/susy-codec [INFO] removed path dependency susy-codec-derive from susytech/susy-codec [INFO] finished frobbing susytech/susy-codec [INFO] frobbed toml for susytech/susy-codec written to work/ex/pr-61100/sources/try#58b21121d0b447ceb3f1a655155d802191acf044/gh/susytech/susy-codec/Cargo.toml [INFO] crate susytech/susy-codec already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/susytech/susy-codec/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+58b21121d0b447ceb3f1a655155d802191acf044-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] checking susytech/susy-codec against master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504 for pr-61100 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-61100/worker-2/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-61100/sources/master#8869ee03d7f258e1b76a11c6fbb01b5708a9f504/gh/susytech/susy-codec:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+8869ee03d7f258e1b76a11c6fbb01b5708a9f504-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 1a1bf5a7b106737bf8684441b84d41beef0905d6b9e1094efd7a1d1321d7046c [INFO] running `"docker" "start" "-a" "1a1bf5a7b106737bf8684441b84d41beef0905d6b9e1094efd7a1d1321d7046c"` [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Checking susy-codec v3.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling susy-codec-derive v3.3.0 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] warning: unused imports: `CompactAs`, `Compact`, `Decode`, `EncodeAsRef` [INFO] [stderr] --> tests/single_field_struct_encoding.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use susy_codec::{Encode, Decode, HasCompact, Compact, EncodeAsRef, CompactAs}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/single_field_struct_encoding.rs:6:36 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/single_field_struct_encoding.rs:11:36 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/single_field_struct_encoding.rs:17:36 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_S::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/single_field_struct_encoding.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/single_field_struct_encoding.rs:26:36 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/single_field_struct_encoding.rs:29:36 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_S::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/single_field_struct_encoding.rs:8:2 [INFO] [stderr] | [INFO] [stderr] 8 | x: u32, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/single_field_struct_encoding.rs:13:2 [INFO] [stderr] | [INFO] [stderr] 13 | #[codec(compact)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/single_field_struct_encoding.rs:19:2 [INFO] [stderr] | [INFO] [stderr] 19 | #[codec(encoded_as = "::Type")] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/single_field_struct_encoding.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | struct U(u32); [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/single_field_struct_encoding.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | struct Uc(#[codec(compact)] u32); [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/single_field_struct_encoding.rs:30:26 [INFO] [stderr] | [INFO] [stderr] 30 | struct Uh(#[codec(encoded_as = "::Type")] T); [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_S::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0053, E0277. [INFO] [stderr] For more information about an error, try `rustc --explain E0053`. [INFO] [stderr] error: Could not compile `susy-codec`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:23:36 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:26:36 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:29:36 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:51:36 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:62:36 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:69:36 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:75:36 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:81:36 [INFO] [stderr] | [INFO] [stderr] 81 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:95:36 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:101:36 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:313:19 [INFO] [stderr] | [INFO] [stderr] 313 | #[derive(Encode, Decode, Debug, PartialEq)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:355:37 [INFO] [stderr] | [INFO] [stderr] 355 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:393:37 [INFO] [stderr] | [INFO] [stderr] 393 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:415:37 [INFO] [stderr] | [INFO] [stderr] 415 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:422:37 [INFO] [stderr] | [INFO] [stderr] 422 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:436:37 [INFO] [stderr] | [INFO] [stderr] 436 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `decode` has an incompatible type for trait [INFO] [stderr] --> tests/mod.rs:448:37 [INFO] [stderr] | [INFO] [stderr] 448 | #[derive(Debug, PartialEq, Encode, Decode, Default)] [INFO] [stderr] | ^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut DecIn) -> std::result::Result, _IMPL_DECODE_FOR_Unit::_susy_codec::Error>` [INFO] [stderr] found type `fn(&mut DecIn) -> std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:27:18 [INFO] [stderr] | [INFO] [stderr] 27 | struct Indexed(u32, u64); [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | struct Indexed(u32, u64); [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | pub a: A, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | pub b: B, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:33:4 [INFO] [stderr] | [INFO] [stderr] 33 | pub c: C, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | pub a: u32, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | pub b: u64, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:40:3 [INFO] [stderr] | [INFO] [stderr] 40 | _c: ::std::marker::PhantomData, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:51:41 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:55:6 [INFO] [stderr] | [INFO] [stderr] 55 | B(u32, u64), [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | B(u32, u64), [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:57:3 [INFO] [stderr] | [INFO] [stderr] 57 | a: u32, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:58:3 [INFO] [stderr] | [INFO] [stderr] 58 | b: u64, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:62:41 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:71:2 [INFO] [stderr] | [INFO] [stderr] 71 | #[codec(encoded_as = "::Type")] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:77:2 [INFO] [stderr] | [INFO] [stderr] 77 | #[codec(compact)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:81:41 [INFO] [stderr] | [INFO] [stderr] 81 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:83:10 [INFO] [stderr] | [INFO] [stderr] 83 | Unnamed(#[codec(encoded_as = "::Type")] T), [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:85:3 [INFO] [stderr] | [INFO] [stderr] 85 | #[codec(encoded_as = "::Type")] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:88:17 [INFO] [stderr] | [INFO] [stderr] 88 | UnnamedCompact(#[codec(compact)] T), [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:90:3 [INFO] [stderr] | [INFO] [stderr] 90 | #[codec(compact)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:97:2 [INFO] [stderr] | [INFO] [stderr] 97 | #[codec(compact)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:101:41 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:103:10 [INFO] [stderr] | [INFO] [stderr] 103 | Unnamed(#[codec(compact)] u64), [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:105:3 [INFO] [stderr] | [INFO] [stderr] 105 | #[codec(compact)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:315:7 [INFO] [stderr] | [INFO] [stderr] 315 | field: (Vec, Type), [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:360:3 [INFO] [stderr] | [INFO] [stderr] 360 | #[codec(encoded_as = "u32")] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:393:42 [INFO] [stderr] | [INFO] [stderr] 393 | #[derive(Debug, PartialEq, Encode, Decode)] [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:396:4 [INFO] [stderr] | [INFO] [stderr] 396 | #[codec(compact)] a: T [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:424:3 [INFO] [stderr] | [INFO] [stderr] 424 | t: T::Type, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:438:6 [INFO] [stderr] | [INFO] [stderr] 438 | data: N, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:439:7 [INFO] [stderr] | [INFO] [stderr] 439 | other: Vec>, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:450:6 [INFO] [stderr] | [INFO] [stderr] 450 | data: N, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::NoneError: std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not satisfied [INFO] [stderr] --> tests/mod.rs:451:7 [INFO] [stderr] | [INFO] [stderr] 451 | other: Vec>>, [INFO] [stderr] | ^ the trait `std::convert::From<_IMPL_DECODE_FOR_Unit::_susy_codec::Error>` is not implemented for `std::option::NoneError` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error: aborting due to 52 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0053, E0277. [INFO] [stderr] For more information about an error, try `rustc --explain E0053`. [INFO] [stderr] error: Could not compile `susy-codec`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "1a1bf5a7b106737bf8684441b84d41beef0905d6b9e1094efd7a1d1321d7046c"` [INFO] running `"docker" "rm" "-f" "1a1bf5a7b106737bf8684441b84d41beef0905d6b9e1094efd7a1d1321d7046c"` [INFO] [stdout] 1a1bf5a7b106737bf8684441b84d41beef0905d6b9e1094efd7a1d1321d7046c