[INFO] fetching crate iter-skak 0.2.0...
[INFO] checking iter-skak-0.2.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate iter-skak 0.2.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate iter-skak 0.2.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate iter-skak 0.2.0
[INFO] finished tweaking crates.io crate iter-skak 0.2.0
[INFO] tweaked toml for crates.io crate iter-skak 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e83d0d0a04b485ea836aff3c294b5fe2568913207f66b23f247951c2fb1a8e9a
[INFO] running `Command { std: "docker" "start" "-a" "e83d0d0a04b485ea836aff3c294b5fe2568913207f66b23f247951c2fb1a8e9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e83d0d0a04b485ea836aff3c294b5fe2568913207f66b23f247951c2fb1a8e9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e83d0d0a04b485ea836aff3c294b5fe2568913207f66b23f247951c2fb1a8e9a", kill_on_drop: false }`
[INFO] [stdout] e83d0d0a04b485ea836aff3c294b5fe2568913207f66b23f247951c2fb1a8e9a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e196b1770197321a3fc5ed230069239015b92f6caa563ca178c9e5b06d2a2e17
[INFO] running `Command { std: "docker" "start" "-a" "e196b1770197321a3fc5ed230069239015b92f6caa563ca178c9e5b06d2a2e17", kill_on_drop: false }`
[INFO] [stderr]     Checking iter-skak v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core_intrinsics, rustc_attrs, iter_advance_by, try_trait_v2, try_blocks)]
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core_intrinsics, rustc_attrs, iter_advance_by, try_trait_v2, try_blocks)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core_intrinsics, rustc_attrs, iter_advance_by, try_trait_v2, try_blocks)]
[INFO] [stdout]   |                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core_intrinsics, rustc_attrs, iter_advance_by, try_trait_v2, try_blocks)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `advance_by` has an incompatible type for trait
[INFO] [stdout]    --> src/lib.rs:110:43
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn advance_by(&mut self, n: usize) -> Result<(), usize> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           expected `NonZero<usize>`, found `usize`
[INFO] [stdout]     |                                           help: change the output type to match the trait: `Result<(), NonZero<usize>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&mut Skip<_>, _) -> Result<_, NonZero<usize>>`
[INFO] [stdout]                found signature `fn(&mut Skip<_>, _) -> Result<_, usize>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `advance_by` has an incompatible type for trait
[INFO] [stdout]    --> src/lib.rs:110:43
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn advance_by(&mut self, n: usize) -> Result<(), usize> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                           |
[INFO] [stdout]     |                                           expected `NonZero<usize>`, found `usize`
[INFO] [stdout]     |                                           help: change the output type to match the trait: `Result<(), NonZero<usize>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&mut Skip<_>, _) -> Result<_, NonZero<usize>>`
[INFO] [stdout]                found signature `fn(&mut Skip<_>, _) -> Result<_, usize>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `saturating_sub` found for struct `NonZero` in the current scope
[INFO] [stdout]    --> src/lib.rs:120:54
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 let advanced_without_skip = advanced.saturating_sub(self.n);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `saturating_mul` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 let advanced_without_skip = advanced.saturating_mul(self.n);
[INFO] [stdout]     |                                                      ~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:121:48
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 self.n = self.n.saturating_sub(advanced);
[INFO] [stdout]     |                                 -------------- ^^^^^^^^ expected `usize`, found `NonZero<usize>`
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `usize`
[INFO] [stdout]              found struct `NonZero<usize>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/num/mod.rs:1269:5
[INFO] [stdout]     = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero<usize>` into `usize`
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 self.n = self.n.saturating_sub(advanced.into());
[INFO] [stdout]     |                                                        +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:129:32
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 ret @ Ok(_) => ret,
[INFO] [stdout]     |                                ^^^ expected `Result<(), usize>`, found `Result<(), NonZero<usize>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<_, usize>`
[INFO] [stdout]                found enum `Result<_, NonZero<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `saturating_sub` found for struct `NonZero` in the current scope
[INFO] [stdout]    --> src/lib.rs:120:54
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 let advanced_without_skip = advanced.saturating_sub(self.n);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `saturating_mul` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 let advanced_without_skip = advanced.saturating_mul(self.n);
[INFO] [stdout]     |                                                      ~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract-assign `NonZero<usize>` from `usize`
[INFO] [stdout]    --> src/lib.rs:131:25
[INFO] [stdout]     |
[INFO] [stdout] 131 |                     rem -= advanced;
[INFO] [stdout]     |                         ^^ no implementation for `usize -= NonZero<usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SubAssign<NonZero<usize>>` is not implemented for `usize`
[INFO] [stdout]     = help: the following other types implement trait `SubAssign<Rhs>`:
[INFO] [stdout]               <usize as SubAssign<&usize>>
[INFO] [stdout]               <usize as SubAssign>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:121:48
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 self.n = self.n.saturating_sub(advanced);
[INFO] [stdout]     |                                 -------------- ^^^^^^^^ expected `usize`, found `NonZero<usize>`
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `usize`
[INFO] [stdout]              found struct `NonZero<usize>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/core/src/num/mod.rs:1269:5
[INFO] [stdout]     = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: call `Into::into` on this expression to convert `NonZero<usize>` into `usize`
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 self.n = self.n.saturating_sub(advanced.into());
[INFO] [stdout]     |                                                        +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:129:32
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 ret @ Ok(_) => ret,
[INFO] [stdout]     |                                ^^^ expected `Result<(), usize>`, found `Result<(), NonZero<usize>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<_, usize>`
[INFO] [stdout]                found enum `Result<_, NonZero<usize>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract-assign `NonZero<usize>` from `usize`
[INFO] [stdout]    --> src/lib.rs:131:25
[INFO] [stdout]     |
[INFO] [stdout] 131 |                     rem -= advanced;
[INFO] [stdout]     |                         ^^ no implementation for `usize -= NonZero<usize>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `SubAssign<NonZero<usize>>` is not implemented for `usize`
[INFO] [stdout]     = help: the following other types implement trait `SubAssign<Rhs>`:
[INFO] [stdout]               <usize as SubAssign<&usize>>
[INFO] [stdout]               <usize as SubAssign>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iter-skak` (lib) due to 6 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `iter-skak` (lib test) due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e196b1770197321a3fc5ed230069239015b92f6caa563ca178c9e5b06d2a2e17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e196b1770197321a3fc5ed230069239015b92f6caa563ca178c9e5b06d2a2e17", kill_on_drop: false }`
[INFO] [stdout] e196b1770197321a3fc5ed230069239015b92f6caa563ca178c9e5b06d2a2e17
