[INFO] cloning repository https://github.com/JRF63/vecdeque-bench
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JRF63/vecdeque-bench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJRF63%2Fvecdeque-bench", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJRF63%2Fvecdeque-bench'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fcf59c6961cd409f4cb770a143a3727b2058add2
[INFO] building JRF63/vecdeque-bench against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJRF63%2Fvecdeque-bench" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JRF63/vecdeque-bench on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JRF63/vecdeque-bench
[INFO] finished tweaking git repo https://github.com/JRF63/vecdeque-bench
[INFO] tweaked toml for git repo https://github.com/JRF63/vecdeque-bench written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/JRF63/vecdeque-bench 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded criterion-plot v0.4.5
[INFO] [stderr]   Downloaded serde_json v1.0.86
[INFO] [stderr]   Downloaded criterion v0.3.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4d34c17f732e825cbd63c76f38cbcc1365b78d7b3790811195d9d15adb61b90e
[INFO] running `Command { std: "docker" "start" "-a" "4d34c17f732e825cbd63c76f38cbcc1365b78d7b3790811195d9d15adb61b90e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d34c17f732e825cbd63c76f38cbcc1365b78d7b3790811195d9d15adb61b90e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d34c17f732e825cbd63c76f38cbcc1365b78d7b3790811195d9d15adb61b90e", kill_on_drop: false }`
[INFO] [stdout] 4d34c17f732e825cbd63c76f38cbcc1365b78d7b3790811195d9d15adb61b90e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f684a5b8fb97ee97ee2060f531a6b2522dc887095162c5ca341511d8f4c34e58
[INFO] running `Command { std: "docker" "start" "-a" "f684a5b8fb97ee97ee2060f531a6b2522dc887095162c5ca341511d8f4c34e58", kill_on_drop: false }`
[INFO] [stderr]    Compiling vecdeque-bench v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0053]: method `advance_by` has an incompatible type for trait
[INFO] [stdout]     --> src/lib.rs:1337:43
[INFO] [stdout]      |
[INFO] [stdout] 1337 |     fn advance_by(&mut self, n: usize) -> Result<(), usize> {
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^ expected `NonZero<usize>`, found `usize`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected signature `fn(&mut Iter<'_, _>, _) -> Result<_, NonZero<usize>>`
[INFO] [stdout]                 found signature `fn(&mut Iter<'_, _>, _) -> Result<_, usize>`
[INFO] [stdout] help: change the output type to match the trait
[INFO] [stdout]      |
[INFO] [stdout] 1337 |     fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>> {
[INFO] [stdout]      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `advance_back_by` has an incompatible type for trait
[INFO] [stdout]     --> src/lib.rs:1480:48
[INFO] [stdout]      |
[INFO] [stdout] 1480 |     fn advance_back_by(&mut self, n: usize) -> Result<(), usize> {
[INFO] [stdout]      |                                                ^^^^^^^^^^^^^^^^^ expected `NonZero<usize>`, found `usize`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected signature `fn(&mut Iter<'_, _>, _) -> Result<_, NonZero<usize>>`
[INFO] [stdout]                 found signature `fn(&mut Iter<'_, _>, _) -> Result<_, usize>`
[INFO] [stdout] help: change the output type to match the trait
[INFO] [stdout]      |
[INFO] [stdout] 1480 |     fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>> {
[INFO] [stdout]      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `advance_by` has an incompatible type for trait
[INFO] [stdout]     --> src/lib.rs:1562:43
[INFO] [stdout]      |
[INFO] [stdout] 1562 |     fn advance_by(&mut self, n: usize) -> Result<(), usize> {
[INFO] [stdout]      |                                           ^^^^^^^^^^^^^^^^^ expected `NonZero<usize>`, found `usize`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected signature `fn(&mut IterMut<'_, _>, _) -> Result<_, NonZero<usize>>`
[INFO] [stdout]                 found signature `fn(&mut IterMut<'_, _>, _) -> Result<_, usize>`
[INFO] [stdout] help: change the output type to match the trait
[INFO] [stdout]      |
[INFO] [stdout] 1562 |     fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>> {
[INFO] [stdout]      |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `advance_back_by` has an incompatible type for trait
[INFO] [stdout]     --> src/lib.rs:1707:48
[INFO] [stdout]      |
[INFO] [stdout] 1707 |     fn advance_back_by(&mut self, n: usize) -> Result<(), usize> {
[INFO] [stdout]      |                                                ^^^^^^^^^^^^^^^^^ expected `NonZero<usize>`, found `usize`
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected signature `fn(&mut IterMut<'_, _>, _) -> Result<_, NonZero<usize>>`
[INFO] [stdout]                 found signature `fn(&mut IterMut<'_, _>, _) -> Result<_, usize>`
[INFO] [stdout] help: change the output type to match the trait
[INFO] [stdout]      |
[INFO] [stdout] 1707 |     fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>> {
[INFO] [stdout]      |                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract `NonZero<usize>` from `usize`
[INFO] [stdout]     --> src/lib.rs:1343:30
[INFO] [stdout]      |
[INFO] [stdout] 1343 |         self.i1.advance_by(n - m).map_err(|o| o + m)
[INFO] [stdout]      |                              ^ no implementation for `usize - NonZero<usize>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the trait `Sub<NonZero<usize>>` is not implemented for `usize`
[INFO] [stdout]      = help: the following other types implement trait `Sub<Rhs>`:
[INFO] [stdout]                `&usize` implements `Sub<usize>`
[INFO] [stdout]                `&usize` implements `Sub`
[INFO] [stdout]                `usize` implements `Sub<&usize>`
[INFO] [stdout]                `usize` implements `Sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `NonZero<usize>` to `NonZero<usize>`
[INFO] [stdout]     --> src/lib.rs:1343:49
[INFO] [stdout]      |
[INFO] [stdout] 1343 |         self.i1.advance_by(n - m).map_err(|o| o + m)
[INFO] [stdout]      |                                               - ^ - NonZero<usize>
[INFO] [stdout]      |                                               |
[INFO] [stdout]      |                                               NonZero<usize>
[INFO] [stdout]      |
[INFO] [stdout] note: the foreign item type `NonZero<usize>` doesn't implement `Add`
[INFO] [stdout]     --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/core/src/num/nonzero.rs:126:1
[INFO] [stdout]      |
[INFO] [stdout]      = note: not implement `Add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract `NonZero<usize>` from `usize`
[INFO] [stdout]     --> src/lib.rs:1487:35
[INFO] [stdout]      |
[INFO] [stdout] 1487 |         self.i2.advance_back_by(n - m).map_err(|o| m + o)
[INFO] [stdout]      |                                   ^ no implementation for `usize - NonZero<usize>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the trait `Sub<NonZero<usize>>` is not implemented for `usize`
[INFO] [stdout]      = help: the following other types implement trait `Sub<Rhs>`:
[INFO] [stdout]                `&usize` implements `Sub<usize>`
[INFO] [stdout]                `&usize` implements `Sub`
[INFO] [stdout]                `usize` implements `Sub<&usize>`
[INFO] [stdout]                `usize` implements `Sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `NonZero<usize>` to `NonZero<usize>`
[INFO] [stdout]     --> src/lib.rs:1487:54
[INFO] [stdout]      |
[INFO] [stdout] 1487 |         self.i2.advance_back_by(n - m).map_err(|o| m + o)
[INFO] [stdout]      |                                                    - ^ - NonZero<usize>
[INFO] [stdout]      |                                                    |
[INFO] [stdout]      |                                                    NonZero<usize>
[INFO] [stdout]      |
[INFO] [stdout] note: the foreign item type `NonZero<usize>` doesn't implement `Add`
[INFO] [stdout]     --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/core/src/num/nonzero.rs:126:1
[INFO] [stdout]      |
[INFO] [stdout]      = note: not implement `Add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract `NonZero<usize>` from `usize`
[INFO] [stdout]     --> src/lib.rs:1567:36
[INFO] [stdout]      |
[INFO] [stdout] 1567 |         match self.i2.advance_by(n - m) {
[INFO] [stdout]      |                                    ^ no implementation for `usize - NonZero<usize>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the trait `Sub<NonZero<usize>>` is not implemented for `usize`
[INFO] [stdout]      = help: the following other types implement trait `Sub<Rhs>`:
[INFO] [stdout]                `&usize` implements `Sub<usize>`
[INFO] [stdout]                `&usize` implements `Sub`
[INFO] [stdout]                `usize` implements `Sub<&usize>`
[INFO] [stdout]                `usize` implements `Sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `NonZero<usize>` to `NonZero<usize>`
[INFO] [stdout]     --> src/lib.rs:1569:29
[INFO] [stdout]      |
[INFO] [stdout] 1569 |             Err(o) => Err(m + o),
[INFO] [stdout]      |                           - ^ - NonZero<usize>
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           NonZero<usize>
[INFO] [stdout]      |
[INFO] [stdout] note: the foreign item type `NonZero<usize>` doesn't implement `Add`
[INFO] [stdout]     --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/core/src/num/nonzero.rs:126:1
[INFO] [stdout]      |
[INFO] [stdout]      = note: not implement `Add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract `NonZero<usize>` from `usize`
[INFO] [stdout]     --> src/lib.rs:1714:35
[INFO] [stdout]      |
[INFO] [stdout] 1714 |         self.i2.advance_back_by(n - m).map_err(|o| m + o)
[INFO] [stdout]      |                                   ^ no implementation for `usize - NonZero<usize>`
[INFO] [stdout]      |
[INFO] [stdout]      = help: the trait `Sub<NonZero<usize>>` is not implemented for `usize`
[INFO] [stdout]      = help: the following other types implement trait `Sub<Rhs>`:
[INFO] [stdout]                `&usize` implements `Sub<usize>`
[INFO] [stdout]                `&usize` implements `Sub`
[INFO] [stdout]                `usize` implements `Sub<&usize>`
[INFO] [stdout]                `usize` implements `Sub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot add `NonZero<usize>` to `NonZero<usize>`
[INFO] [stdout]     --> src/lib.rs:1714:54
[INFO] [stdout]      |
[INFO] [stdout] 1714 |         self.i2.advance_back_by(n - m).map_err(|o| m + o)
[INFO] [stdout]      |                                                    - ^ - NonZero<usize>
[INFO] [stdout]      |                                                    |
[INFO] [stdout]      |                                                    NonZero<usize>
[INFO] [stdout]      |
[INFO] [stdout] note: the foreign item type `NonZero<usize>` doesn't implement `Add`
[INFO] [stdout]     --> /rustc/ad211ced81509462cdfe4c29ed10f97279a0acae/library/core/src/num/nonzero.rs:126:1
[INFO] [stdout]      |
[INFO] [stdout]      = note: not implement `Add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vecdeque-bench` (lib) due to 12 previous errors
[INFO] running `Command { std: "docker" "inspect" "f684a5b8fb97ee97ee2060f531a6b2522dc887095162c5ca341511d8f4c34e58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f684a5b8fb97ee97ee2060f531a6b2522dc887095162c5ca341511d8f4c34e58", kill_on_drop: false }`
[INFO] [stdout] f684a5b8fb97ee97ee2060f531a6b2522dc887095162c5ca341511d8f4c34e58
