[INFO] fetching crate wincode 0.5.2... [INFO] testing wincode-0.5.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate wincode 0.5.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wincode 0.5.2 [INFO] finished tweaking crates.io crate wincode 0.5.2 [INFO] tweaked toml for crates.io crate wincode 0.5.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wincode 0.5.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wincode 0.5.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91c4089b169e0d0cb95952360009e9266084b4e0de48b0c9c3c7433632b0e4a4 [INFO] running `Command { std: "docker" "start" "-a" "91c4089b169e0d0cb95952360009e9266084b4e0de48b0c9c3c7433632b0e4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91c4089b169e0d0cb95952360009e9266084b4e0de48b0c9c3c7433632b0e4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c4089b169e0d0cb95952360009e9266084b4e0de48b0c9c3c7433632b0e4a4", kill_on_drop: false }` [INFO] [stdout] 91c4089b169e0d0cb95952360009e9266084b4e0de48b0c9c3c7433632b0e4a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9b5fb069f307ff4f18d6836f2711121db095f728b1d0ada93b8188b6e77326f [INFO] running `Command { std: "docker" "start" "-a" "b9b5fb069f307ff4f18d6836f2711121db095f728b1d0ada93b8188b6e77326f", kill_on_drop: false }` [INFO] [stderr] Compiling wincode v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stdout] warning: unused import: `impl_seq_kv` [INFO] [stdout] --> src/schema/impls.rs:1207:16 [INFO] [stdout] | [INFO] [stdout] 1207 | pub(crate) use impl_seq_kv; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_seq_v` [INFO] [stdout] --> src/schema/impls.rs:1273:16 [INFO] [stdout] | [INFO] [stdout] 1273 | pub(crate) use impl_seq_v; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.54s [INFO] running `Command { std: "docker" "inspect" "b9b5fb069f307ff4f18d6836f2711121db095f728b1d0ada93b8188b6e77326f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b5fb069f307ff4f18d6836f2711121db095f728b1d0ada93b8188b6e77326f", kill_on_drop: false }` [INFO] [stdout] b9b5fb069f307ff4f18d6836f2711121db095f728b1d0ada93b8188b6e77326f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2655897c40ea7ab44fc79292dbc415a961ac02fa8cc43fac9d3c911099db471 [INFO] running `Command { std: "docker" "start" "-a" "d2655897c40ea7ab44fc79292dbc415a961ac02fa8cc43fac9d3c911099db471", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling proptest-derive v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling solana-short-vec v3.2.0 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling wincode v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `impl_seq_kv` [INFO] [stdout] --> src/schema/impls.rs:1207:16 [INFO] [stdout] | [INFO] [stdout] 1207 | pub(crate) use impl_seq_kv; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_seq_v` [INFO] [stdout] --> src/schema/impls.rs:1273:16 [INFO] [stdout] | [INFO] [stdout] 1273 | pub(crate) use impl_seq_v; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ecow v0.2.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling proptest v1.11.0 [INFO] [stdout] warning: unused import: `impl_seq_kv` [INFO] [stdout] --> src/schema/impls.rs:1207:16 [INFO] [stdout] | [INFO] [stdout] 1207 | pub(crate) use impl_seq_kv; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impl_seq_v` [INFO] [stdout] --> src/schema/impls.rs:1273:16 [INFO] [stdout] | [INFO] [stdout] 1273 | pub(crate) use impl_seq_v; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NoBorrowReader` is never constructed [INFO] [stdout] --> src/io/test_util.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct NoBorrowReader<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/io/test_util.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> NoBorrowReader<'a> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 15 | pub(crate) fn new(inner: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.33s [INFO] running `Command { std: "docker" "inspect" "d2655897c40ea7ab44fc79292dbc415a961ac02fa8cc43fac9d3c911099db471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2655897c40ea7ab44fc79292dbc415a961ac02fa8cc43fac9d3c911099db471", kill_on_drop: false }` [INFO] [stdout] d2655897c40ea7ab44fc79292dbc415a961ac02fa8cc43fac9d3c911099db471 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cdf5b9d5e1a111bdbe4f2a49c351212af70487f8a77c7f606865cd1890ba28e2 [INFO] running `Command { std: "docker" "start" "-a" "cdf5b9d5e1a111bdbe4f2a49c351212af70487f8a77c7f606865cd1890ba28e2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `impl_seq_kv` [INFO] [stderr] --> src/schema/impls.rs:1207:16 [INFO] [stderr] | [INFO] [stderr] 1207 | pub(crate) use impl_seq_kv; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `impl_seq_v` [INFO] [stderr] --> src/schema/impls.rs:1273:16 [INFO] [stderr] | [INFO] [stderr] 1273 | pub(crate) use impl_seq_v; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wincode` (lib) generated 2 warnings (run `cargo fix --lib -p wincode` to apply 2 suggestions) [INFO] [stderr] warning: struct `NoBorrowReader` is never constructed [INFO] [stderr] --> src/io/test_util.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) struct NoBorrowReader<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/io/test_util.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 14 | impl<'a> NoBorrowReader<'a> { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] 15 | pub(crate) fn new(inner: &'a [u8]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `wincode` (lib test) generated 4 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wincode-07fcdd09564dbaad) [INFO] [stdout] running 39 tests [INFO] [stdout] test io::cursor::tests::cursor_write_trusted_grow_vec ... ok [INFO] [stdout] test io::cursor::tests::uninit_slice_write_no_panic_no_ub_check ... ok [INFO] [stdout] test io::cursor::tests::cursor_write_partial_vec ... ok [INFO] [stdout] test io::cursor::tests::cursor_extremal_pos_max_zero_len_ok ... ok [INFO] [stdout] test io::cursor::tests::cursor_write_vec_new ... ok [INFO] [stdout] test io::cursor::tests::cursor_zero_len_ops_ok ... ok [INFO] [stdout] test io::cursor::tests::cursor_write_trusted_vec ... ok [INFO] [stdout] test io::slice::tests::reader_take_scoped_input_too_large ... ok [INFO] [stdout] test io::cursor::tests::cursor_write_existing_vec ... ok [INFO] [stdout] test io::std_write::tests::buf_writer_serialize_tuples ... ok [INFO] [stdout] test io::cursor::tests::cursor_write_existing_grow_vec ... ok [INFO] [stdout] test io::std_write::tests::cursor_slice_writer_serialize_tuples ... ok [INFO] [stdout] test io::std_write::tests::cursor_vec_trusted_append_with_spare_capacity ... ok [INFO] [stdout] test io::std_write::tests::cursor_vec_trusted_overwrite_preserves_tail ... ok [INFO] [stdout] test io::std_write::tests::cursor_slice_trusted_out_of_bounds_errors ... ok [INFO] [stdout] test io::std_write::tests::cursor_vec_trusted_overwrite_then_extend ... ok [INFO] [stdout] test io::cursor::tests::vec_write_no_panic_no_ub_check ... ok [INFO] [stdout] test io::std_write::tests::cursor_vec_writer_serialize_tuples ... ok [INFO] [stdout] test io::std_write::tests::write_adapter_serialize_tuples ... ok [INFO] [stdout] test io::cursor::tests::cursor_write_trusted_oversized_vec ... ok [INFO] [stdout] test io::slice::tests::test_writer_write_t ... ok [INFO] [stdout] test io::slice::tests::test_reader_take_scoped ... ok [INFO] [stdout] test io::std_write::tests::cursor_vec_trusted_zero_fills_gap ... ok [INFO] [stdout] test io::cursor::tests::cursor_read_no_panic_no_ub_check ... ok [INFO] [stdout] test io::cursor::tests::cursor_as_trusted_for_remaining_advances_to_len ... ok [INFO] [stdout] test io::slice::tests::test_reader_copy_into_slice ... ok [INFO] [stdout] test io::std_write::tests::cursor_mut_slice_trusted_writes_in_bounds ... ok [INFO] [stdout] test io::slice::tests::test_reader_copy_into_slice_t ... ok [INFO] [stdout] test io::slice::tests::test_reader_copy_into_t ... ok [INFO] [stdout] test io::slice::tests::test_reader_copy_into_slice_input_too_large ... ok [INFO] [stdout] test io::vec::tests::vec_writer_write_existing ... ok [INFO] [stdout] test io::vec::tests::test_writer_write_from_t ... ok [INFO] [stdout] test io::slice::tests::test_writer_write_input_too_large ... ok [INFO] [stdout] test io::slice::tests::test_writer_write ... ok [INFO] [stdout] test io::vec::tests::vec_writer_write_new ... ok [INFO] [stdout] test io::slice::tests::test_writer_write_slice_t ... ok [INFO] [stdout] test io::vec::tests::vec_writer_trusted_existing ... ok [INFO] [stdout] test io::vec::tests::vec_writer_trusted ... ok [INFO] [stderr] Doc-tests wincode [INFO] [stdout] test io::vec::tests::test_writer_write_slice_t ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 58 tests [INFO] [stdout] test src/io/cursor.rs - io::cursor::Cursor> (line 406) ... ok [INFO] [stdout] test src/io/cursor.rs - io::cursor::Cursor<&'_mutVec> (line 360) ... ok [INFO] [stdout] test src/io/mod.rs - io::Writer::by_ref (line 359) ... ok [INFO] [stdout] test src/io/mod.rs - io::Reader::supports_borrow (line 84) ... ok [INFO] [stdout] test src/io/cursor.rs - io::cursor::Cursor (line 44) ... ok [INFO] [stdout] test src/io/cursor.rs - io::cursor::Cursor (line 19) ... ok [INFO] [stdout] test src/io/cursor.rs - io::cursor::Cursor> (line 417) ... ok [INFO] [stdout] test src/io/mod.rs - io::Reader::by_ref (line 213) ... ok [INFO] [stdout] test src/io/std_write.rs - io::std_write::WriteAdapter (line 16) ... ok [INFO] [stdout] test src/io/std_read.rs - io::std_read::ReadAdapter (line 19) ... ok [INFO] [stdout] test src/io/vec.rs - io::vec::Vec (line 8) ... ok [INFO] [stdout] test src/io/cursor.rs - io::cursor::Cursor<&'_mutVec> (line 372) ... ok [INFO] [stdout] test src/lib.rs - (line 106) ... ok [INFO] [stdout] test src/len.rs - len::FixIntLen (line 271) ... FAILED [INFO] [stdout] test src/len.rs - len::BincodeLen (line 359) ... FAILED [INFO] [stdout] test src/config/serde.rs - config::serde::deserialize_exact (line 161) ... ok [INFO] [stdout] test src/io/vec.rs - io::vec::Vec (line 19) ... ok [INFO] [stdout] test src/len.rs - len::UseIntLen (line 155) ... FAILED [INFO] [stdout] test src/config/serde.rs - config::serde::serialize (line 99) ... ok [INFO] [stdout] test src/schema/containers.rs - schema::containers::FromIntoIterator (line 598) ... ignored [INFO] [stdout] test src/lib.rs - (line 238) ... ok [INFO] [stdout] test src/lib.rs - (line 204) ... ok [INFO] [stdout] test src/lib.rs - (line 287) ... ok [INFO] [stdout] test src/lib.rs - (line 257) ... ok [INFO] [stdout] test src/config/serde.rs - config::serde::deserialize (line 138) ... ok [INFO] [stdout] test src/lib.rs - (line 226) ... ok [INFO] [stdout] test src/lib.rs - (line 473) ... ok [INFO] [stdout] test src/lib.rs - (line 363) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] test src/lib.rs - (line 410) ... ok [INFO] [stdout] test src/schema/containers.rs - schema::containers::Box (line 98) ... ok [INFO] [stdout] test src/schema/containers.rs - schema::containers (line 8) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] test src/schema/containers.rs - schema::containers::decode_into_slice_t (line 677) ... ok [INFO] [stdout] test src/schema/containers.rs - schema::containers (line 32) ... ok [INFO] [stdout] test src/schema/containers.rs - schema::containers::pod_wrapper (line 180) ... ok [INFO] [stdout] test src/schema/int_encoding.rs - schema::int_encoding::VarInt (line 324) ... ok [INFO] [stdout] test src/schema/int_encoding.rs - schema::int_encoding::VarInt (line 306) ... ok [INFO] [stdout] test src/lib.rs - (line 78) ... ok [INFO] [stdout] test src/schema/tag_encoding.rs - schema::tag_encoding::TagEncoding (line 19) - compile fail ... ok [INFO] [stdout] test src/schema/mod.rs - schema::ZeroCopy::from_bytes_mut (line 386) ... ok [INFO] [stdout] test src/schema/context.rs - schema::context::Len (line 10) ... ok [INFO] [stdout] test src/schema/mod.rs - schema (line 5) ... ok [INFO] [stdout] test src/schema/containers.rs - schema::containers::decode_into_slice_t (line 699) ... ok [INFO] [stdout] test src/schema/mod.rs - schema::TypeMeta::join_types (line 150) ... ok [INFO] [stdout] test src/schema/mod.rs - schema::TypeMeta::join_types (line 173) ... ok [INFO] [stdout] test src/schema/mod.rs - schema::TypeMeta::join_types (line 162) ... ok [INFO] [stdout] test src/schema/tag_encoding.rs - schema::tag_encoding::TagEncoding (line 50) ... ok [INFO] [stdout] test src/serde.rs - serde::Deserialize (line 20) ... ok [INFO] [stdout] test src/schema/mod.rs - schema::ZeroCopy::from_bytes (line 355) ... ok [INFO] [stdout] test src/serde.rs - serde::deserialize_exact (line 164) ... ok [INFO] [stdout] test src/serde.rs - serde::Deserialize (line 32) ... ok [INFO] [stdout] test src/serde.rs - serde::deserialize_mut (line 214) ... ok [INFO] [stdout] test src/serde.rs - serde::Serialize (line 96) ... ok [INFO] [stdout] test src/serde.rs - serde::deserialize_mut (line 190) ... ok [INFO] [stdout] test src/serde.rs - serde::deserialize (line 144) ... ok [INFO] [stdout] test src/serde.rs - serde::Serialize (line 84) ... ok [INFO] [stdout] test src/serde.rs - serde::serialize (line 276) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/len.rs - len::FixIntLen (line 271) stdout ---- [INFO] [stdout] error: cannot find derive macro `SchemaWrite` in this scope [INFO] [stdout] --> src/len.rs:277:10 [INFO] [stdout] | [INFO] [stdout] 277 | #[derive(SchemaWrite, SchemaRead)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaWrite` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/len.rs:274:55 [INFO] [stdout] | [INFO] [stdout] 274 | use wincode::{containers, len::FixIntLen, SchemaRead, SchemaWrite}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SchemaRead` in this scope [INFO] [stdout] --> src/len.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | #[derive(SchemaWrite, SchemaRead)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaRead` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/len.rs:274:43 [INFO] [stdout] | [INFO] [stdout] 274 | use wincode::{containers, len::FixIntLen, SchemaRead, SchemaWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wincode` in this scope [INFO] [stdout] --> src/len.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 279 | #[wincode(with = "containers::Vec")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wincode` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/len.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | extern crate r#wincode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaWrite>>` is not satisfied [INFO] [stdout] --> src/len.rs:284:37 [INFO] [stdout] | [INFO] [stdout] 284 | let serialized = wincode::serialize(&data_ok).unwrap(); [INFO] [stdout] | ------------------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaWrite>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaWrite`: [INFO] [stdout] `&'a T` implements `SchemaWrite` [INFO] [stdout] `()` implements `SchemaWrite` [INFO] [stdout] `(A, B)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F, G)` implements `SchemaWrite` [INFO] [stdout] and 77 others [INFO] [stdout] note: required by a bound in `wincode::serialize` [INFO] [stdout] --> src/serde.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn serialize(src: &T) -> WriteResult> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 283 | where [INFO] [stdout] 284 | T: SchemaWrite + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaRead<'_, Configuration>>` is not satisfied [INFO] [stdout] --> src/len.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | assert!(wincode::deserialize::(&serialized).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaRead<'_, Configuration>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaRead<'de, C>`: [INFO] [stdout] `&'de T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de str` implements `SchemaRead<'de, C>` [INFO] [stdout] `()` implements `SchemaRead<'de, C>` [INFO] [stdout] `(A, B)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] `(A, B, C)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `wincode::deserialize` [INFO] [stdout] --> src/serde.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn deserialize<'de, T>(src: &'de [u8]) -> ReadResult [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | T: SchemaRead<'de, DefaultConfig, Dst = T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaWrite>>` is not satisfied [INFO] [stdout] --> src/len.rs:288:28 [INFO] [stdout] | [INFO] [stdout] 288 | assert!(wincode::serialize(&data_err).is_err()); [INFO] [stdout] | ------------------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaWrite>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaWrite`: [INFO] [stdout] `&'a T` implements `SchemaWrite` [INFO] [stdout] `()` implements `SchemaWrite` [INFO] [stdout] `(A, B)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F, G)` implements `SchemaWrite` [INFO] [stdout] and 77 others [INFO] [stdout] note: required by a bound in `wincode::serialize` [INFO] [stdout] --> src/serde.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn serialize(src: &T) -> WriteResult> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 283 | where [INFO] [stdout] 284 | T: SchemaWrite + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaRead<'_, Configuration>>` is not satisfied [INFO] [stdout] --> src/len.rs:290:32 [INFO] [stdout] | [INFO] [stdout] 290 | assert!(wincode::deserialize::(&serialized).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaRead<'_, Configuration>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaRead<'de, C>`: [INFO] [stdout] `&'de T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de str` implements `SchemaRead<'de, C>` [INFO] [stdout] `()` implements `SchemaRead<'de, C>` [INFO] [stdout] `(A, B)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] `(A, B, C)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `wincode::deserialize` [INFO] [stdout] --> src/serde.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn deserialize<'de, T>(src: &'de [u8]) -> ReadResult [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | T: SchemaRead<'de, DefaultConfig, Dst = T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/len.rs - len::BincodeLen (line 359) stdout ---- [INFO] [stdout] error: cannot find derive macro `SchemaWrite` in this scope [INFO] [stdout] --> src/len.rs:365:10 [INFO] [stdout] | [INFO] [stdout] 365 | #[derive(SchemaWrite, SchemaRead)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaWrite` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/len.rs:362:56 [INFO] [stdout] | [INFO] [stdout] 362 | use wincode::{containers, len::BincodeLen, SchemaRead, SchemaWrite}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SchemaRead` in this scope [INFO] [stdout] --> src/len.rs:365:23 [INFO] [stdout] | [INFO] [stdout] 365 | #[derive(SchemaWrite, SchemaRead)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaRead` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/len.rs:362:44 [INFO] [stdout] | [INFO] [stdout] 362 | use wincode::{containers, len::BincodeLen, SchemaRead, SchemaWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wincode` in this scope [INFO] [stdout] --> src/len.rs:367:7 [INFO] [stdout] | [INFO] [stdout] 367 | #[wincode(with = "containers::Vec")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wincode` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/len.rs:359:1 [INFO] [stdout] | [INFO] [stdout] 359 | extern crate r#wincode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaWrite>>` is not satisfied [INFO] [stdout] --> src/len.rs:372:37 [INFO] [stdout] | [INFO] [stdout] 372 | let serialized = wincode::serialize(&data_ok).unwrap(); [INFO] [stdout] | ------------------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaWrite>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 366 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaWrite`: [INFO] [stdout] `&'a T` implements `SchemaWrite` [INFO] [stdout] `()` implements `SchemaWrite` [INFO] [stdout] `(A, B)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F, G)` implements `SchemaWrite` [INFO] [stdout] and 77 others [INFO] [stdout] note: required by a bound in `wincode::serialize` [INFO] [stdout] --> src/serde.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn serialize(src: &T) -> WriteResult> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 283 | where [INFO] [stdout] 284 | T: SchemaWrite + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaRead<'_, Configuration>>` is not satisfied [INFO] [stdout] --> src/len.rs:373:32 [INFO] [stdout] | [INFO] [stdout] 373 | assert!(wincode::deserialize::(&serialized).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaRead<'_, Configuration>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 366 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaRead<'de, C>`: [INFO] [stdout] `&'de T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de str` implements `SchemaRead<'de, C>` [INFO] [stdout] `()` implements `SchemaRead<'de, C>` [INFO] [stdout] `(A, B)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] `(A, B, C)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `wincode::deserialize` [INFO] [stdout] --> src/serde.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn deserialize<'de, T>(src: &'de [u8]) -> ReadResult [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | T: SchemaRead<'de, DefaultConfig, Dst = T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaWrite>>` is not satisfied [INFO] [stdout] --> src/len.rs:376:28 [INFO] [stdout] | [INFO] [stdout] 376 | assert!(wincode::serialize(&data_err).is_err()); [INFO] [stdout] | ------------------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaWrite>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 366 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaWrite`: [INFO] [stdout] `&'a T` implements `SchemaWrite` [INFO] [stdout] `()` implements `SchemaWrite` [INFO] [stdout] `(A, B)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F, G)` implements `SchemaWrite` [INFO] [stdout] and 77 others [INFO] [stdout] note: required by a bound in `wincode::serialize` [INFO] [stdout] --> src/serde.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn serialize(src: &T) -> WriteResult> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 283 | where [INFO] [stdout] 284 | T: SchemaWrite + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaRead<'_, Configuration>>` is not satisfied [INFO] [stdout] --> src/len.rs:378:32 [INFO] [stdout] | [INFO] [stdout] 378 | assert!(wincode::deserialize::(&serialized).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaRead<'_, Configuration>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 366 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaRead<'de, C>`: [INFO] [stdout] `&'de T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de str` implements `SchemaRead<'de, C>` [INFO] [stdout] `()` implements `SchemaRead<'de, C>` [INFO] [stdout] `(A, B)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] `(A, B, C)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `wincode::deserialize` [INFO] [stdout] --> src/serde.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn deserialize<'de, T>(src: &'de [u8]) -> ReadResult [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | T: SchemaRead<'de, DefaultConfig, Dst = T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/len.rs - len::UseIntLen (line 155) stdout ---- [INFO] [stdout] error: cannot find derive macro `SchemaWrite` in this scope [INFO] [stdout] --> src/len.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(SchemaWrite, SchemaRead)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaWrite` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/len.rs:158:55 [INFO] [stdout] | [INFO] [stdout] 158 | use wincode::{containers, len::UseIntLen, SchemaRead, SchemaWrite}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `SchemaRead` in this scope [INFO] [stdout] --> src/len.rs:161:23 [INFO] [stdout] | [INFO] [stdout] 161 | #[derive(SchemaWrite, SchemaRead)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaRead` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/len.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | use wincode::{containers, len::UseIntLen, SchemaRead, SchemaWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wincode` in this scope [INFO] [stdout] --> src/len.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | #[wincode(with = "containers::Vec")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `wincode` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/len.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | extern crate r#wincode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaWrite>>` is not satisfied [INFO] [stdout] --> src/len.rs:168:37 [INFO] [stdout] | [INFO] [stdout] 168 | let serialized = wincode::serialize(&data_ok).unwrap(); [INFO] [stdout] | ------------------ ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaWrite>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaWrite`: [INFO] [stdout] `&'a T` implements `SchemaWrite` [INFO] [stdout] `()` implements `SchemaWrite` [INFO] [stdout] `(A, B)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F, G)` implements `SchemaWrite` [INFO] [stdout] and 77 others [INFO] [stdout] note: required by a bound in `wincode::serialize` [INFO] [stdout] --> src/serde.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn serialize(src: &T) -> WriteResult> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 283 | where [INFO] [stdout] 284 | T: SchemaWrite + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaRead<'_, Configuration>>` is not satisfied [INFO] [stdout] --> src/len.rs:169:32 [INFO] [stdout] | [INFO] [stdout] 169 | assert!(wincode::deserialize::(&serialized).is_ok()); [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaRead<'_, Configuration>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaRead<'de, C>`: [INFO] [stdout] `&'de T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de str` implements `SchemaRead<'de, C>` [INFO] [stdout] `()` implements `SchemaRead<'de, C>` [INFO] [stdout] `(A, B)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] `(A, B, C)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `wincode::deserialize` [INFO] [stdout] --> src/serde.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn deserialize<'de, T>(src: &'de [u8]) -> ReadResult [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | T: SchemaRead<'de, DefaultConfig, Dst = T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaWrite>>` is not satisfied [INFO] [stdout] --> src/len.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | assert!(wincode::serialize(&data_err).is_err()); [INFO] [stdout] | ------------------ ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaWrite>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaWrite`: [INFO] [stdout] `&'a T` implements `SchemaWrite` [INFO] [stdout] `()` implements `SchemaWrite` [INFO] [stdout] `(A, B)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F)` implements `SchemaWrite` [INFO] [stdout] `(A, B, C, D, E, F, G)` implements `SchemaWrite` [INFO] [stdout] and 77 others [INFO] [stdout] note: required by a bound in `wincode::serialize` [INFO] [stdout] --> src/serde.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn serialize(src: &T) -> WriteResult> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 283 | where [INFO] [stdout] 284 | T: SchemaWrite + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `serialize` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OverrideLen: SchemaRead<'_, Configuration>>` is not satisfied [INFO] [stdout] --> src/len.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | assert!(wincode::deserialize::(&serialized).is_err()); [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `SchemaRead<'_, Configuration>>` is not implemented for `OverrideLen` [INFO] [stdout] --> src/len.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | struct OverrideLen { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `SchemaRead<'de, C>`: [INFO] [stdout] `&'de T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut T` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de mut [T]` implements `SchemaRead<'de, C>` [INFO] [stdout] `&'de str` implements `SchemaRead<'de, C>` [INFO] [stdout] `()` implements `SchemaRead<'de, C>` [INFO] [stdout] `(A, B)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] `(A, B, C)` implements `SchemaRead<'de, Cfg>` [INFO] [stdout] and 79 others [INFO] [stdout] note: required by a bound in `wincode::deserialize` [INFO] [stdout] --> src/serde.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn deserialize<'de, T>(src: &'de [u8]) -> ReadResult [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] 154 | where [INFO] [stdout] 155 | T: SchemaRead<'de, DefaultConfig, Dst = T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `deserialize` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/len.rs - len::BincodeLen (line 359) [INFO] [stdout] src/len.rs - len::FixIntLen (line 271) [INFO] [stdout] src/len.rs - len::UseIntLen (line 155) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 54 passed; 3 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.65s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.06s; merged doctests compilation took 0.41s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cdf5b9d5e1a111bdbe4f2a49c351212af70487f8a77c7f606865cd1890ba28e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf5b9d5e1a111bdbe4f2a49c351212af70487f8a77c7f606865cd1890ba28e2", kill_on_drop: false }` [INFO] [stdout] cdf5b9d5e1a111bdbe4f2a49c351212af70487f8a77c7f606865cd1890ba28e2