[INFO] crate framed 0.4.3 is already in cache
[INFO] extracting crate framed 0.4.3 into work/ex/beta-1.37-6/sources/1.36.0/reg/framed/0.4.3
[INFO] extracting crate framed 0.4.3 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/framed/0.4.3
[INFO] validating manifest of framed-0.4.3 on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of framed-0.4.3 on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing framed-0.4.3
[INFO] finished frobbing framed-0.4.3
[INFO] frobbed toml for framed-0.4.3 written to work/ex/beta-1.37-6/sources/1.36.0/reg/framed/0.4.3/Cargo.toml
[INFO] started frobbing framed-0.4.3
[INFO] finished frobbing framed-0.4.3
[INFO] frobbed toml for framed-0.4.3 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/framed/0.4.3/Cargo.toml
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing framed-0.4.3 against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/framed/0.4.3:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 70d9416bfd86c0ac0b1baf5d79127c7798de5159c7aa0e0890d71f639c70301f
[INFO] running `"docker" "start" "-a" "70d9416bfd86c0ac0b1baf5d79127c7798de5159c7aa0e0890d71f639c70301f"`
[INFO] [stderr]    Compiling serde v1.0.98
[INFO] [stderr]    Compiling crc16 v0.3.4
[INFO] [stderr]    Compiling encode_unicode v0.3.5
[INFO] [stderr]    Compiling cobs v0.1.4
[INFO] [stderr]    Compiling ssmarshal v1.0.0
[INFO] [stderr]    Compiling framed v0.4.3 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 15.75s
[INFO] running `"docker" "inspect" "70d9416bfd86c0ac0b1baf5d79127c7798de5159c7aa0e0890d71f639c70301f"`
[INFO] running `"docker" "rm" "-f" "70d9416bfd86c0ac0b1baf5d79127c7798de5159c7aa0e0890d71f639c70301f"`
[INFO] [stdout] 70d9416bfd86c0ac0b1baf5d79127c7798de5159c7aa0e0890d71f639c70301f
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/framed/0.4.3:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+1.36.0" "test" "--frozen" "--no-run"`
[INFO] [stdout] 060103f94e253c49bb916733fb1cb613935f7736329c8c081268246fd8c43db2
[INFO] running `"docker" "start" "-a" "060103f94e253c49bb916733fb1cb613935f7736329c8c081268246fd8c43db2"`
[INFO] [stderr]    Compiling framed v0.4.3 (/opt/crater/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.78s
[INFO] running `"docker" "inspect" "060103f94e253c49bb916733fb1cb613935f7736329c8c081268246fd8c43db2"`
[INFO] running `"docker" "rm" "-f" "060103f94e253c49bb916733fb1cb613935f7736329c8c081268246fd8c43db2"`
[INFO] [stdout] 060103f94e253c49bb916733fb1cb613935f7736329c8c081268246fd8c43db2
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-3/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/framed/0.4.3:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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=warn" "-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" "+1.36.0" "test" "--frozen"`
[INFO] [stdout] 286b3d2a3a1ecf1b9eba01643bae105d40d16aadb934071b6a87dde0fe78f142
[INFO] running `"docker" "start" "-a" "286b3d2a3a1ecf1b9eba01643bae105d40d16aadb934071b6a87dde0fe78f142"`
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running /opt/crater/target/debug/deps/framed-b6f8dc52c6d2eee8
[INFO] [stdout] 
[INFO] [stdout] running 29 tests
[INFO] [stdout] test bytes::rw_tests::two_frames_sequentially ... ok
[INFO] [stdout] test bytes::rw_tests::two_frames_at_once ... ok
[INFO] [stdout] test bytes::rw_tests::partial_input ... ok
[INFO] [stdout] test bytes::tests::decode_to_slice_encoded_empty ... ok
[INFO] [stdout] test bytes::tests::decode_to_slice_encoded_too_short ... ok
[INFO] [stdout] test bytes::rw_tests::empty_input ... ok
[INFO] [stdout] test bytes::tests::decode_to_box_ok ... ok
[INFO] [stdout] test bytes::rw_tests::one_frame ... ok
[INFO] [stdout] test bytes::tests::decode_to_slice_bad_checksum ... ok
[INFO] [stdout] test bytes::tests::decode_from_reader_ok ... ok
[INFO] [stdout] test bytes::tests::decode_to_slice_no_end_symbol ... ok
[INFO] [stdout] test bytes::tests::decode_to_slice_ok_dynamic_dest ... ok
[INFO] [stdout] test bytes::tests::decode_to_slice_missing_bytes ... ok
[INFO] [stdout] test bytes::tests::max_decoded_len_ok ... ok
[INFO] [stdout] test bytes::tests::roundtrip_default_config ... ok
[INFO] [stdout] test bytes::tests::roundtrip_empty_payload ... ok
[INFO] [stdout] test bytes::tests::max_encoded_len_ok ... ok
[INFO] [stdout] test bytes::tests::encode_to_writer_ok ... ok
[INFO] [stdout] test bytes::tests::encode_to_slice_ok_dynamic_dest ... ok
[INFO] [stdout] test bytes::tests::roundtrip_no_checksum ... ok
[INFO] [stdout] test typed::tests::len_tests::encoded_len ... ok
[INFO] [stdout] test channel::tests::ok ... ok
[INFO] [stdout] test typed::tests::len_tests::serialize_buf_len ... ok
[INFO] [stdout] test typed::tests::rw_tests::empty_input ... ok
[INFO] [stdout] test typed::tests::rw_tests::one ... ok
[INFO] [stdout] test bytes::tests::decode_to_slice_dest_too_small ... ok
[INFO] [stdout] test bytes::tests::encode_to_slice_dest_too_small ... ok
[INFO] [stdout] test typed::tests::slice_tests::bad_dest_len ... ok
[INFO] [stdout] test typed::tests::slice_tests::bad_ser_buf_len ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests framed
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs -  (line 57) ... ignored
[INFO] [stdout] test src/bytes.rs - bytes (line 12) ... ok
[INFO] [stdout] test src/bytes.rs - bytes (line 41) ... FAILED
[INFO] [stdout] test src/typed.rs - typed (line 60) ... FAILED
[INFO] [stdout] test src/typed.rs - typed (line 20) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/bytes.rs - bytes (line 41) stdout ----
[INFO] [stdout] error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]   --> src/bytes.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 19 | const MAX_FRAME_LEN: usize = max_encoded_len(MAX_PAYLOAD_LEN);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: any use of this value will cause an error
[INFO] [stdout]   --> src/bytes.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 19 | const MAX_FRAME_LEN: usize = max_encoded_len(MAX_PAYLOAD_LEN);
[INFO] [stdout]    | -----------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              calling non-const function `framed::bytes::max_encoded_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: #[deny(const_err)] on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0080]: evaluation of constant value failed
[INFO] [stdout]   --> src/bytes.rs:62:29
[INFO] [stdout]    |
[INFO] [stdout] 24 | let mut encoded_buf = [0u8; MAX_FRAME_LEN];
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ referenced constant has errors
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/bytes.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | let mut encoded_buf = [0u8; MAX_FRAME_LEN];
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout]    = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0015, E0080, E0277.
[INFO] [stdout] For more information about an error, try `rustc --explain E0015`.
[INFO] [stdout] thread 'src/bytes.rs - bytes (line 41)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f3f8d4f5823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55
[INFO] [stdout]                                at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
[INFO] [stdout]    1:     0x7f3f8d4ed4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:71
[INFO] [stdout]    2:     0x7f3f8d4f1a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:59
[INFO] [stdout]                                at src/libstd/panicking.rs:197
[INFO] [stdout]    3:     0x7f3f8d4f177e - std::panicking::default_hook::he4af6af4ac7fef7b
[INFO] [stdout]                                at src/libstd/panicking.rs:208
[INFO] [stdout]    4:     0x7f3f8d4f2248 - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f
[INFO] [stdout]                                at src/libstd/panicking.rs:478
[INFO] [stdout]    5:     0x56280a7b1784 - std::panicking::begin_panic::h2203228e86eb91b5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408
[INFO] [stdout]    6:     0x56280a7a768f - rustdoc::test::run_test::h29a20600da33f74f
[INFO] [stdout]                                at src/librustdoc/test.rs:319
[INFO] [stdout]    7:     0x56280a79b7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9
[INFO] [stdout]                                at src/librustdoc/test.rs:715
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]    8:     0x7f3f8ea78b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]    9:     0x7f3f8ea78b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   10:     0x7f3f8d503169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   11:     0x7f3f8ea93f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at src/libtest/lib.rs:1468
[INFO] [stdout]   12:     0x7f3f8ea6d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136
[INFO] [stdout]   13:     0x7f3f8ea71a54 - std::panicking::try::do_call::h6f86e980b52f74d5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293
[INFO] [stdout]   14:     0x7f3f8d503169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   15:     0x7f3f8ea72551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]   16:     0x7f3f8d4d436e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h805c3cc89d534c05
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   17:     0x7f3f8d501ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]                                at src/libstd/sys_common/thread.rs:13
[INFO] [stdout]                                at src/libstd/sys/unix/thread.rs:79
[INFO] [stdout]   18:     0x7f3f8d06b4a3 - start_thread
[INFO] [stdout]   19:     0x7f3f8cb96d0e - __clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- src/typed.rs - typed (line 60) stdout ----
[INFO] [stdout] error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]   --> src/typed.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut ser_buf = [0u8; max_serialize_buf_len::<Test>()];
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0080]: evaluation of constant value failed
[INFO] [stdout]   --> src/typed.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut ser_buf = [0u8; max_serialize_buf_len::<Test>()];
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ calling non-const function `framed::typed::max_serialize_buf_len::<main::Test>`
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]   --> src/typed.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut encoded_buf = [0u8; max_encoded_len::<Test>()];
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0080]: evaluation of constant value failed
[INFO] [stdout]   --> src/typed.rs:80:33
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut encoded_buf = [0u8; max_encoded_len::<Test>()];
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ calling non-const function `framed::typed::max_encoded_len::<main::Test>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/typed.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut ser_buf = [0u8; max_serialize_buf_len::<Test>()];
[INFO] [stdout]    |         ^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout]    = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/typed.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut encoded_buf = [0u8; max_encoded_len::<Test>()];
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout]    = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
[INFO] [stdout]   --> src/typed.rs:90:28
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut de_buf = [0u8; max_serialize_buf_len::<Test>()];
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0080]: evaluation of constant value failed
[INFO] [stdout]   --> src/typed.rs:90:28
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut de_buf = [0u8; max_serialize_buf_len::<Test>()];
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ calling non-const function `framed::typed::max_serialize_buf_len::<main::Test>`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
[INFO] [stdout]   --> src/typed.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut de_buf = [0u8; max_serialize_buf_len::<Test>()];
[INFO] [stdout]    |         ^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `[u8]`
[INFO] [stdout]    = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout]    = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0015, E0080, E0277.
[INFO] [stdout] For more information about an error, try `rustc --explain E0015`.
[INFO] [stdout] thread 'src/typed.rs - typed (line 60)' panicked at 'couldn't compile the test', src/librustdoc/test.rs:319:13
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f3f8d4f5823 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6485381528590a55
[INFO] [stdout]                                at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
[INFO] [stdout]    1:     0x7f3f8d4ed4cb - std::sys_common::backtrace::_print::h49a82ae9552e35c7
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:71
[INFO] [stdout]    2:     0x7f3f8d4f1a56 - std::panicking::default_hook::{{closure}}::he20974adbefcc046
[INFO] [stdout]                                at src/libstd/sys_common/backtrace.rs:59
[INFO] [stdout]                                at src/libstd/panicking.rs:197
[INFO] [stdout]    3:     0x7f3f8d4f177e - std::panicking::default_hook::he4af6af4ac7fef7b
[INFO] [stdout]                                at src/libstd/panicking.rs:208
[INFO] [stdout]    4:     0x7f3f8d4f2248 - std::panicking::rust_panic_with_hook::h057ff03eb4c8000f
[INFO] [stdout]                                at src/libstd/panicking.rs:478
[INFO] [stdout]    5:     0x56280a7b1784 - std::panicking::begin_panic::h2203228e86eb91b5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:408
[INFO] [stdout]    6:     0x56280a7a768f - rustdoc::test::run_test::h29a20600da33f74f
[INFO] [stdout]                                at src/librustdoc/test.rs:319
[INFO] [stdout]    7:     0x56280a79b7c9 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h84ad3bdb52e265e9
[INFO] [stdout]                                at src/librustdoc/test.rs:715
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]    8:     0x7f3f8ea78b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]    9:     0x7f3f8ea78b7e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6b004fa8f4fc1608
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   10:     0x7f3f8d503169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   11:     0x7f3f8ea93f87 - test::run_test::run_test_inner::{{closure}}::h9a4d23c41d058d37
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at src/libtest/lib.rs:1468
[INFO] [stdout]   12:     0x7f3f8ea6d9a4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3765d76361a33ff7
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/sys_common/backtrace.rs:136
[INFO] [stdout]   13:     0x7f3f8ea71a54 - std::panicking::try::do_call::h6f86e980b52f74d5
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:470
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:315
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:293
[INFO] [stdout]   14:     0x7f3f8d503169 - __rust_maybe_catch_panic
[INFO] [stdout]                                at src/libpanic_unwind/lib.rs:85
[INFO] [stdout]   15:     0x7f3f8ea72551 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h760b8a2b155f54c3
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panicking.rs:272
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/panic.rs:394
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libstd/thread/mod.rs:469
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/libcore/ops/function.rs:231
[INFO] [stdout]   16:     0x7f3f8d4d436e - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h805c3cc89d534c05
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]   17:     0x7f3f8d501ddf - std::sys::unix::thread::Thread::new::thread_start::h6f10b78f26c98dc6
[INFO] [stdout]                                at /rustc/a53f9df32fbb0b5f4382caaad8f1a46f36ea887c/src/liballoc/boxed.rs:704
[INFO] [stdout]                                at src/libstd/sys_common/thread.rs:13
[INFO] [stdout]                                at src/libstd/sys/unix/thread.rs:79
[INFO] [stdout]   18:     0x7f3f8d06b4a3 - start_thread
[INFO] [stdout]   19:     0x7f3f8cb96d0e - __clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/bytes.rs - bytes (line 41)
[INFO] [stdout]     src/typed.rs - typed (line 60)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `"docker" "inspect" "286b3d2a3a1ecf1b9eba01643bae105d40d16aadb934071b6a87dde0fe78f142"`
[INFO] running `"docker" "rm" "-f" "286b3d2a3a1ecf1b9eba01643bae105d40d16aadb934071b6a87dde0fe78f142"`
[INFO] [stdout] 286b3d2a3a1ecf1b9eba01643bae105d40d16aadb934071b6a87dde0fe78f142
