[INFO] fetching crate parze 0.7.3... [INFO] checking parze-0.7.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate parze 0.7.3 into /workspace/builds/worker-19/source [INFO] validating manifest of crates.io crate parze 0.7.3 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate parze 0.7.3 [INFO] finished tweaking crates.io crate parze 0.7.3 [INFO] tweaked toml for crates.io crate parze 0.7.3 written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate crates.io crate parze 0.7.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parze-declare v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f0e85aa171d1acffe860c3e367a8966ebb475d4b890cc341b26d06b6d5e2d5b [INFO] running `Command { std: "docker" "start" "-a" "2f0e85aa171d1acffe860c3e367a8966ebb475d4b890cc341b26d06b6d5e2d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f0e85aa171d1acffe860c3e367a8966ebb475d4b890cc341b26d06b6d5e2d5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0e85aa171d1acffe860c3e367a8966ebb475d4b890cc341b26d06b6d5e2d5b", kill_on_drop: false }` [INFO] [stdout] 2f0e85aa171d1acffe860c3e367a8966ebb475d4b890cc341b26d06b6d5e2d5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9aa3d508416b432bf13d4657cb1cdbba75caf460c9b041c3e00c3e95f40740b [INFO] running `Command { std: "docker" "start" "-a" "f9aa3d508416b432bf13d4657cb1cdbba75caf460c9b041c3e00c3e95f40740b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling parze-declare v0.2.0 [INFO] [stderr] Checking pom v3.0.2 [INFO] [stderr] Checking parze v0.7.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/lib.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | Parser::dynamic_raw(move |tokens| this.f.parse(tokens)) [INFO] [stdout] | ^^^^^^^^^^^^^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, this closure captures all of `this`, but in Rust 2021, it will only capture `this.f` [INFO] [stdout] 190 | } [INFO] [stdout] | - in Rust 2018, `this` is dropped here, but in Rust 2021, only `this.f` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `this` to be fully captured [INFO] [stdout] | [INFO] [stdout] 189 | Parser::dynamic_raw(move |tokens| { let _ = &this; this.f.parse(tokens) }) [INFO] [stdout] | ++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fail.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fail { [INFO] [stdout] | - expected type parameter [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn map_err(self, f: impl Fn(E) -> G) -> Fail { [INFO] [stdout] | - found type parameter [INFO] [stdout] 16 | Self(self.0, f(self.1)) [INFO] [stdout] | ^^^^^^^^^ expected type parameter `E`, found type parameter `G` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found type parameter `G` [INFO] [stdout] = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fail.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fail { [INFO] [stdout] | - found type parameter [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn map_err(self, f: impl Fn(E) -> G) -> Fail { [INFO] [stdout] | - expected type parameter ------- expected `Fail` because of return type [INFO] [stdout] 16 | Self(self.0, f(self.1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `G`, found type parameter `E` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Fail` [INFO] [stdout] found struct `Fail` [INFO] [stdout] = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parze` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/lib.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | Parser::dynamic_raw(move |tokens| this.f.parse(tokens)) [INFO] [stdout] | ^^^^^^^^^^^^^^------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, this closure captures all of `this`, but in Rust 2021, it will only capture `this.f` [INFO] [stdout] 190 | } [INFO] [stdout] | - in Rust 2018, `this` is dropped here, but in Rust 2021, only `this.f` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `this` to be fully captured [INFO] [stdout] | [INFO] [stdout] 189 | Parser::dynamic_raw(move |tokens| { let _ = &this; this.f.parse(tokens) }) [INFO] [stdout] | ++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fail.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fail { [INFO] [stdout] | - expected type parameter [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn map_err(self, f: impl Fn(E) -> G) -> Fail { [INFO] [stdout] | - found type parameter [INFO] [stdout] 16 | Self(self.0, f(self.1)) [INFO] [stdout] | ^^^^^^^^^ expected type parameter `E`, found type parameter `G` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found type parameter `G` [INFO] [stdout] = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fail.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fail { [INFO] [stdout] | - found type parameter [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn map_err(self, f: impl Fn(E) -> G) -> Fail { [INFO] [stdout] | - expected type parameter ------- expected `Fail` because of return type [INFO] [stdout] 16 | Self(self.0, f(self.1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `G`, found type parameter `E` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Fail` [INFO] [stdout] found struct `Fail` [INFO] [stdout] = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f9aa3d508416b432bf13d4657cb1cdbba75caf460c9b041c3e00c3e95f40740b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9aa3d508416b432bf13d4657cb1cdbba75caf460c9b041c3e00c3e95f40740b", kill_on_drop: false }` [INFO] [stdout] f9aa3d508416b432bf13d4657cb1cdbba75caf460c9b041c3e00c3e95f40740b