[INFO] fetching crate iter-skak 0.2.0...
[INFO] checking iter-skak-0.2.0 against master#3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777 for pr-132289
[INFO] extracting crate iter-skak 0.2.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate iter-skak 0.2.0 on toolchain 3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "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" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c6ac4bfa6d6d6832027582d0fcabe8cd40431c27a284fc37c0d7067d397b84a9
[INFO] running `Command { std: "docker" "start" "-a" "c6ac4bfa6d6d6832027582d0fcabe8cd40431c27a284fc37c0d7067d397b84a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6ac4bfa6d6d6832027582d0fcabe8cd40431c27a284fc37c0d7067d397b84a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6ac4bfa6d6d6832027582d0fcabe8cd40431c27a284fc37c0d7067d397b84a9", kill_on_drop: false }`
[INFO] [stdout] c6ac4bfa6d6d6832027582d0fcabe8cd40431c27a284fc37c0d7067d397b84a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 23a9829b7c6c05da856cf5b6cc0fb94daa0be0f82aa88e98ae3e303500e081a8
[INFO] running `Command { std: "docker" "start" "-a" "23a9829b7c6c05da856cf5b6cc0fb94daa0be0f82aa88e98ae3e303500e081a8", 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]     |                                           ^^^^^^^^^^^^^^^^^ expected `NonZero<usize>`, found `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] help: change the output type to match the trait
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn advance_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:110:43
[INFO] [stdout]     |
[INFO] [stdout] 110 |     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 Skip<_>, _) -> Result<_, NonZero<usize>>`
[INFO] [stdout]                found signature `fn(&mut Skip<_>, _) -> Result<_, usize>`
[INFO] [stdout] help: change the output type to match the trait
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>> {
[INFO] [stdout]     |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~
[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[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/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/core/src/num/mod.rs:1330: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: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/3f1be1ec7ec3d8e80beb381ee82164a0aa3ca777/library/core/src/num/mod.rs:1330: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] 110 |     fn advance_by(&mut self, n: usize) -> Result<(), usize> {
[INFO] [stdout]     |                                           ----------------- expected `Result<(), usize>` because of return type
[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] help: use `?` to coerce and return an appropriate `Err`, and wrap the resulting value in `Ok` so the expression remains of type `Result`
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 ret @ Ok(_) => Ok(ret?),
[INFO] [stdout]     |                                +++   ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:129:32
[INFO] [stdout]     |
[INFO] [stdout] 110 |     fn advance_by(&mut self, n: usize) -> Result<(), usize> {
[INFO] [stdout]     |                                           ----------------- expected `Result<(), usize>` because of return type
[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] help: use `?` to coerce and return an appropriate `Err`, and wrap the resulting value in `Ok` so the expression remains of type `Result`
[INFO] [stdout]     |
[INFO] [stdout] 129 |                 ret @ Ok(_) => Ok(ret?),
[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` implements `SubAssign<&usize>`
[INFO] [stdout]               `usize` implements `SubAssign`
[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` implements `SubAssign<&usize>`
[INFO] [stdout]               `usize` implements `SubAssign`
[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] 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) due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `iter-skak` (lib test) due to 5 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "23a9829b7c6c05da856cf5b6cc0fb94daa0be0f82aa88e98ae3e303500e081a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23a9829b7c6c05da856cf5b6cc0fb94daa0be0f82aa88e98ae3e303500e081a8", kill_on_drop: false }`
[INFO] [stdout] 23a9829b7c6c05da856cf5b6cc0fb94daa0be0f82aa88e98ae3e303500e081a8
