[INFO] cloning repository https://github.com/mishazenin/circular_buffer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mishazenin/circular_buffer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmishazenin%2Fcircular_buffer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmishazenin%2Fcircular_buffer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a88c35e05db4c9b28d084fe92201cf58040e3615
[INFO] checking mishazenin/circular_buffer against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmishazenin%2Fcircular_buffer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mishazenin/circular_buffer
[INFO] finished tweaking git repo https://github.com/mishazenin/circular_buffer
[INFO] tweaked toml for git repo https://github.com/mishazenin/circular_buffer written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mishazenin/circular_buffer on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mishazenin/circular_buffer 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking mishazenin/circular_buffer against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmishazenin%2Fcircular_buffer" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mishazenin/circular_buffer
[INFO] finished tweaking git repo https://github.com/mishazenin/circular_buffer
[INFO] tweaked toml for git repo https://github.com/mishazenin/circular_buffer written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mishazenin/circular_buffer on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mishazenin/circular_buffer 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d294c7af5dc70bd2dd7aaf00e3d4a0baec5e91bd933a49efd257080a493908d
[INFO] running `Command { std: "docker" "start" "-a" "9d294c7af5dc70bd2dd7aaf00e3d4a0baec5e91bd933a49efd257080a493908d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d294c7af5dc70bd2dd7aaf00e3d4a0baec5e91bd933a49efd257080a493908d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d294c7af5dc70bd2dd7aaf00e3d4a0baec5e91bd933a49efd257080a493908d", kill_on_drop: false }`
[INFO] [stdout] 9d294c7af5dc70bd2dd7aaf00e3d4a0baec5e91bd933a49efd257080a493908d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e25b7107551e4c45ed522d9f0a5a3cd763cadf104c3add0d9135a1ba4b4e61c
[INFO] running `Command { std: "docker" "start" "-a" "5e25b7107551e4c45ed522d9f0a5a3cd763cadf104c3add0d9135a1ba4b4e61c", kill_on_drop: false }`
[INFO] [stderr]     Checking circular_buffer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found doc comment `/// bump write cursor`
[INFO] [stdout]   --> src/lib.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 Ok(())
[INFO] [stdout]    |                       - expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 42 |                 /// bump write cursor
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ unexpected token
[INFO] [stdout]    |
[INFO] [stdout] help: add a space before the last `/` to write a regular comment
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 // / bump write cursor
[INFO] [stdout]    |                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found doc comment `/// bump write cursor`
[INFO] [stdout]   --> src/lib.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 Ok(())
[INFO] [stdout]    |                       - expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 42 |                 /// bump write cursor
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ unexpected token
[INFO] [stdout]    |
[INFO] [stdout] help: add a space before the last `/` to write a regular comment
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 // / bump write cursor
[INFO] [stdout]    |                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/lib.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 |     buffer: Vec<Option<T>>,
[INFO] [stdout]   |                        ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct CircularBuffer<T> {
[INFO] [stdout]   |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `T` in this scope
[INFO] [stdout]  --> src/lib.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 |     buffer: Vec<Option<T>>,
[INFO] [stdout]   |                        ^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct CircularBuffer<T> {
[INFO] [stdout]   |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/lib.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl<T: Clone> CircularBuffer<T> {
[INFO] [stdout]   |                ^^^^^^^^^^^^^^--- help: remove the unnecessary generics
[INFO] [stdout]   |                |
[INFO] [stdout]   |                expected 0 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] note: struct defined here, with 0 generic parameters
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct CircularBuffer {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/lib.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl<T: Clone> CircularBuffer<T> {
[INFO] [stdout]   |                ^^^^^^^^^^^^^^--- help: remove the unnecessary generics
[INFO] [stdout]   |                |
[INFO] [stdout]   |                expected 0 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] note: struct defined here, with 0 generic parameters
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct CircularBuffer {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/lib.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         match self.buffer[self.read_cursor] {
[INFO] [stdout] 19 | |             Some(value) => {
[INFO] [stdout] 20 | |                 self.bump_read_cursor();
[INFO] [stdout] 21 | |                 Ok(value)
[INFO] [stdout]    | |                 --------- this is found to be of type `Result<T, BufferError>`
[INFO] [stdout] 22 | |             }
[INFO] [stdout] 23 | |             None => BufferError::EmptyBuffer
[INFO] [stdout]    | |                     ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<T, BufferError>`, found `BufferError`
[INFO] [stdout] 24 | |         }
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<T, BufferError>`
[INFO] [stdout]               found enum `BufferError`
[INFO] [stdout] help: try wrapping the expression in `Err`
[INFO] [stdout]    |
[INFO] [stdout] 23 |             None => Err(BufferError::EmptyBuffer)
[INFO] [stdout]    |                     ++++                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/lib.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         match self.buffer[self.read_cursor] {
[INFO] [stdout] 19 | |             Some(value) => {
[INFO] [stdout] 20 | |                 self.bump_read_cursor();
[INFO] [stdout] 21 | |                 Ok(value)
[INFO] [stdout]    | |                 --------- this is found to be of type `Result<T, BufferError>`
[INFO] [stdout] 22 | |             }
[INFO] [stdout] 23 | |             None => BufferError::EmptyBuffer
[INFO] [stdout]    | |                     ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<T, BufferError>`, found `BufferError`
[INFO] [stdout] 24 | |         }
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<T, BufferError>`
[INFO] [stdout]               found enum `BufferError`
[INFO] [stdout] help: try wrapping the expression in `Err`
[INFO] [stdout]    |
[INFO] [stdout] 23 |             None => Err(BufferError::EmptyBuffer)
[INFO] [stdout]    |                     ++++                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.buffer.iter_mut().for_each(|x| {
[INFO] [stdout]    |                                          ^
[INFO] [stdout] 29 |             x.take();
[INFO] [stdout]    |             - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.buffer.iter_mut().for_each(|x: /* Type */| {
[INFO] [stdout]    |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:28:42
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.buffer.iter_mut().for_each(|x| {
[INFO] [stdout]    |                                          ^
[INFO] [stdout] 29 |             x.take();
[INFO] [stdout]    |             - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.buffer.iter_mut().for_each(|x: /* Type */| {
[INFO] [stdout]    |                                           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `circular_buffer` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `circular_buffer` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "5e25b7107551e4c45ed522d9f0a5a3cd763cadf104c3add0d9135a1ba4b4e61c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e25b7107551e4c45ed522d9f0a5a3cd763cadf104c3add0d9135a1ba4b4e61c", kill_on_drop: false }`
[INFO] [stdout] 5e25b7107551e4c45ed522d9f0a5a3cd763cadf104c3add0d9135a1ba4b4e61c
