[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 try#334963c956d25708feab489a3816ae63f639355d 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JRF63/vecdeque-bench on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "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-tc2/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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bd87933a25f6a0e465b8c06e3cdd93b733eef042b830169223e6f2f1a859ee3a
[INFO] running `Command { std: "docker" "start" "-a" "bd87933a25f6a0e465b8c06e3cdd93b733eef042b830169223e6f2f1a859ee3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bd87933a25f6a0e465b8c06e3cdd93b733eef042b830169223e6f2f1a859ee3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd87933a25f6a0e465b8c06e3cdd93b733eef042b830169223e6f2f1a859ee3a", kill_on_drop: false }`
[INFO] [stdout] bd87933a25f6a0e465b8c06e3cdd93b733eef042b830169223e6f2f1a859ee3a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 68d971a7b78b97fab2c1372eed6fe3e9247c3a10bb7a4e6c95aee138c4de01a8
[INFO] running `Command { std: "docker" "start" "-a" "68d971a7b78b97fab2c1372eed6fe3e9247c3a10bb7a4e6c95aee138c4de01a8", 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/334963c956d25708feab489a3816ae63f639355d/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/334963c956d25708feab489a3816ae63f639355d/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/334963c956d25708feab489a3816ae63f639355d/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/334963c956d25708feab489a3816ae63f639355d/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" "68d971a7b78b97fab2c1372eed6fe3e9247c3a10bb7a4e6c95aee138c4de01a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68d971a7b78b97fab2c1372eed6fe3e9247c3a10bb7a4e6c95aee138c4de01a8", kill_on_drop: false }`
[INFO] [stdout] 68d971a7b78b97fab2c1372eed6fe3e9247c3a10bb7a4e6c95aee138c4de01a8
