[INFO] fetching crate bbqueue-heap 0.5.1...
[INFO] testing bbqueue-heap-0.5.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate bbqueue-heap 0.5.1 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate bbqueue-heap 0.5.1
[INFO] finished tweaking crates.io crate bbqueue-heap 0.5.1
[INFO] tweaked toml for crates.io crate bbqueue-heap 0.5.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bbqueue-heap 0.5.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate bbqueue-heap 0.5.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c94427232495616339561acf094aec7ed0264ee046c94a1b620db5f7523e2fb
[INFO] running `Command { std: "docker" "start" "-a" "1c94427232495616339561acf094aec7ed0264ee046c94a1b620db5f7523e2fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c94427232495616339561acf094aec7ed0264ee046c94a1b620db5f7523e2fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c94427232495616339561acf094aec7ed0264ee046c94a1b620db5f7523e2fb", kill_on_drop: false }`
[INFO] [stdout] 1c94427232495616339561acf094aec7ed0264ee046c94a1b620db5f7523e2fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] a1b636c9442e8263a61130882889d9587a97a4438584ef56b370e21498df6368
[INFO] running `Command { std: "docker" "start" "-a" "a1b636c9442e8263a61130882889d9587a97a4438584ef56b370e21498df6368", kill_on_drop: false }`
[INFO] [stderr]    Compiling bbqueue-heap v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "a1b636c9442e8263a61130882889d9587a97a4438584ef56b370e21498df6368", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1b636c9442e8263a61130882889d9587a97a4438584ef56b370e21498df6368", kill_on_drop: false }`
[INFO] [stdout] a1b636c9442e8263a61130882889d9587a97a4438584ef56b370e21498df6368
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 137dbe942cec715de9339086ba4a7eccd71e9d38580888448737a46881df646e
[INFO] running `Command { std: "docker" "start" "-a" "137dbe942cec715de9339086ba4a7eccd71e9d38580888448737a46881df646e", kill_on_drop: false }`
[INFO] [stderr]    Compiling bbqueue-heap v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] running `Command { std: "docker" "inspect" "137dbe942cec715de9339086ba4a7eccd71e9d38580888448737a46881df646e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "137dbe942cec715de9339086ba4a7eccd71e9d38580888448737a46881df646e", kill_on_drop: false }`
[INFO] [stdout] 137dbe942cec715de9339086ba4a7eccd71e9d38580888448737a46881df646e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] c2863c94c2908c0acb6e99072a271048079c9bdeb05230dca26981b46c3ec331
[INFO] running `Command { std: "docker" "start" "-a" "c2863c94c2908c0acb6e99072a271048079c9bdeb05230dca26981b46c3ec331", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/bbqueue-heap/e5ef477ea05ba34b/deps/bbqueue_heap-e5ef477ea05ba34b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bbqueue_heap
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::BBBuffer::new (line 246) - compile ... FAILED
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::BBBuffer::try_release (line 147) ... FAILED
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::BBBuffer::try_split (line 75) ... FAILED
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::GrantW<'a>::buf (line 767) ... FAILED
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::Consumer<'a>::read (line 541) ... FAILED
[INFO] [stdout] test src/framed.rs - framed (line 11) ... FAILED
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::BBBuffer::capacity (line 676) ... FAILED
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::GrantR<'a>::buf (line 894) ... FAILED
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::Producer<'a>::grant_exact (line 339) ... FAILED
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::Producer<'a>::grant_max_remaining (line 430) ... FAILED
[INFO] [stdout] test src/bbbuffer.rs - bbbuffer::SplitGrantR<'a>::bufs (line 995) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 51) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 22) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::BBBuffer::new (line 246) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]    --> src/bbbuffer.rs:247:5
[INFO] [stdout]     |
[INFO] [stdout] 247 | use bbqueue::BBBuffer;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::BBBuffer::try_release (line 147) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]    --> src/bbbuffer.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 | use bbqueue::BBBuffer;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::BBBuffer::try_split (line 75) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]   --> src/bbbuffer.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 | use bbqueue::BBBuffer;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::GrantW<'a>::buf (line 767) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]    --> src/bbbuffer.rs:770:5
[INFO] [stdout]     |
[INFO] [stdout] 770 | use bbqueue::BBBuffer;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/bbbuffer.rs:777:17
[INFO] [stdout]     |
[INFO] [stdout] 777 | let mut grant = prod.grant_max_remaining(4).unwrap();
[INFO] [stdout]     |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::Consumer<'a>::read (line 541) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]    --> src/bbbuffer.rs:544:5
[INFO] [stdout]     |
[INFO] [stdout] 544 | use bbqueue::BBBuffer;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/bbbuffer.rs:551:17
[INFO] [stdout]     |
[INFO] [stdout] 551 | let mut grant = prod.grant_max_remaining(4).unwrap();
[INFO] [stdout]     |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/bbbuffer.rs:556:17
[INFO] [stdout]     |
[INFO] [stdout] 556 | let mut grant = cons.read().unwrap();
[INFO] [stdout]     |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/framed.rs - framed (line 11) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]   --> src/framed.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use bbqueue::BBBuffer;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/framed.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | let mut wgrant = prod.grant(128).unwrap();
[INFO] [stdout]    |                  ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/framed.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | let rgrant = cons.read().unwrap();
[INFO] [stdout]    |              ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::BBBuffer::capacity (line 676) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]    --> src/bbbuffer.rs:679:5
[INFO] [stdout]     |
[INFO] [stdout] 679 | use bbqueue::BBBuffer;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::GrantR<'a>::buf (line 894) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]    --> src/bbbuffer.rs:897:5
[INFO] [stdout]     |
[INFO] [stdout] 897 | use bbqueue::BBBuffer;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/bbbuffer.rs:904:17
[INFO] [stdout]     |
[INFO] [stdout] 904 | let mut grant = prod.grant_max_remaining(4).unwrap();
[INFO] [stdout]     |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/bbbuffer.rs:909:17
[INFO] [stdout]     |
[INFO] [stdout] 909 | let mut grant = cons.read().unwrap();
[INFO] [stdout]     |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::Producer<'a>::grant_exact (line 339) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]    --> src/bbbuffer.rs:342:5
[INFO] [stdout]     |
[INFO] [stdout] 342 | use bbqueue::BBBuffer;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/bbbuffer.rs:349:17
[INFO] [stdout]     |
[INFO] [stdout] 349 | let mut grant = prod.grant_exact(4).unwrap();
[INFO] [stdout]     |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::Producer<'a>::grant_max_remaining (line 430) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]    --> src/bbbuffer.rs:433:5
[INFO] [stdout]     |
[INFO] [stdout] 433 | use bbqueue::BBBuffer;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/bbbuffer.rs:440:17
[INFO] [stdout]     |
[INFO] [stdout] 440 | let mut grant = prod.grant_max_remaining(4).unwrap();
[INFO] [stdout]     |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/bbbuffer.rs:445:17
[INFO] [stdout]     |
[INFO] [stdout] 445 | let mut grant = cons.read().unwrap();
[INFO] [stdout]     |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/bbbuffer.rs - bbbuffer::SplitGrantR<'a>::bufs (line 995) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]    --> src/bbbuffer.rs:998:5
[INFO] [stdout]     |
[INFO] [stdout] 998 | use bbqueue::BBBuffer;
[INFO] [stdout]     |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/bbbuffer.rs:1005:17
[INFO] [stdout]      |
[INFO] [stdout] 1005 | let mut grant = prod.grant_max_remaining(4).unwrap();
[INFO] [stdout]      |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/bbbuffer.rs:1010:17
[INFO] [stdout]      |
[INFO] [stdout] 1010 | let mut grant = cons.read().unwrap();
[INFO] [stdout]      |                 ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 51) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]   --> src/lib.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | use bbqueue::BBBuffer;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:64:19
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let mut wgr = prod.grant_exact(1).unwrap();
[INFO] [stdout]    |                   ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:75:15
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let rgr = cons.read().unwrap();
[INFO] [stdout]    |               ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 22) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `bbqueue`
[INFO] [stdout]   --> src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use bbqueue::BBBuffer;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `bbqueue`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bbqueue`, use `cargo add bbqueue` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 | let mut wgr = prod.grant_exact(1).unwrap();
[INFO] [stdout]    |               ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 | let rgr = cons.read().unwrap();
[INFO] [stdout]    |           ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::BBBuffer::capacity (line 676)
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::BBBuffer::new (line 246)
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::BBBuffer::try_release (line 147)
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::BBBuffer::try_split (line 75)
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::Consumer<'a>::read (line 541)
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::GrantR<'a>::buf (line 894)
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::GrantW<'a>::buf (line 767)
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::Producer<'a>::grant_exact (line 339)
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::Producer<'a>::grant_max_remaining (line 430)
[INFO] [stdout]     src/bbbuffer.rs - bbbuffer::SplitGrantR<'a>::bufs (line 995)
[INFO] [stdout]     src/framed.rs - framed (line 11)
[INFO] [stdout]     src/lib.rs - (line 22)
[INFO] [stdout]     src/lib.rs - (line 51)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c2863c94c2908c0acb6e99072a271048079c9bdeb05230dca26981b46c3ec331", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2863c94c2908c0acb6e99072a271048079c9bdeb05230dca26981b46c3ec331", kill_on_drop: false }`
[INFO] [stdout] c2863c94c2908c0acb6e99072a271048079c9bdeb05230dca26981b46c3ec331
