[INFO] fetching crate eventd 0.3.2... [INFO] checking eventd-0.3.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate eventd 0.3.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate eventd 0.3.2 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 eventd 0.3.2 [INFO] finished tweaking crates.io crate eventd 0.3.2 [INFO] tweaked toml for crates.io crate eventd 0.3.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] b8f5aeebdb5021c77605277e687861166a017677c0e7fec9130c9c6278f094ac [INFO] running `Command { std: "docker" "start" "-a" "b8f5aeebdb5021c77605277e687861166a017677c0e7fec9130c9c6278f094ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8f5aeebdb5021c77605277e687861166a017677c0e7fec9130c9c6278f094ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f5aeebdb5021c77605277e687861166a017677c0e7fec9130c9c6278f094ac", kill_on_drop: false }` [INFO] [stdout] b8f5aeebdb5021c77605277e687861166a017677c0e7fec9130c9c6278f094ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 5171109a635b8b391581c0e864d72478e1d9dbe58b4ba171bdbe31fffb3e41ec [INFO] running `Command { std: "docker" "start" "-a" "5171109a635b8b391581c0e864d72478e1d9dbe58b4ba171bdbe31fffb3e41ec", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking eventd v0.3.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `eventd` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: no rules expected the token `Fn` [INFO] [stderr] --> src/lib.rs:90:37 [INFO] [stderr] | [INFO] [stderr] 90 | $name$(< $lt >)? => dyn Fn, [INFO] [stderr] | ^^ no rules expected this token in macro call [INFO] [stderr] ... [INFO] [stderr] 115 | macro_rules! __event_impl { [INFO] [stderr] | ------------------------- when calling this macro [INFO] [stderr] ... [INFO] [stderr] 190 | / event!( [INFO] [stderr] 191 | | /// Sample event generated using `event!` macro. [INFO] [stderr] 192 | | ExampleEvent<'a> => Fn(x: u32, y: &str) + Sync + 'a [INFO] [stderr] 193 | | ); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `FnMut` [INFO] [stderr] --> src/lib.rs:104:37 [INFO] [stderr] | [INFO] [stderr] 104 | $name$(< $lt >)? => dyn FnMut, [INFO] [stderr] | ^^^^^ no rules expected this token in macro call [INFO] [stderr] ... [INFO] [stderr] 115 | macro_rules! __event_impl { [INFO] [stderr] | ------------------------- when calling this macro [INFO] [stderr] ... [INFO] [stderr] 202 | event!(MyEvent<'a> => FnMut(x: u8, borrowed: &str) + 'a); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `FnMut` [INFO] [stderr] --> src/lib.rs:104:37 [INFO] [stderr] | [INFO] [stderr] 104 | $name$(< $lt >)? => dyn FnMut, [INFO] [stderr] | ^^^^^ no rules expected this token in macro call [INFO] [stderr] ... [INFO] [stderr] 115 | macro_rules! __event_impl { [INFO] [stderr] | ------------------------- when calling this macro [INFO] [stderr] ... [INFO] [stderr] 229 | event!(MyEvent<'a> => FnMut() + 'a); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyEvent` [INFO] [stderr] --> src/lib.rs:208:32 [INFO] [stderr] | [INFO] [stderr] 208 | let mut my_event = MyEvent::default(); [INFO] [stderr] | ^^^^^^^ use of undeclared type `MyEvent` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyEvent` [INFO] [stderr] --> src/lib.rs:233:32 [INFO] [stderr] | [INFO] [stderr] 233 | let mut my_event = MyEvent::default(); [INFO] [stderr] | ^^^^^^^ use of undeclared type `MyEvent` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | $name$(< $lt >)? => Fn, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Fn` [INFO] [stdout] ... [INFO] [stdout] 190 | / event!( [INFO] [stdout] 191 | | /// Sample event generated using `event!` macro. [INFO] [stdout] 192 | | ExampleEvent<'a> => Fn(x: u32, y: &str) + Sync + 'a [INFO] [stdout] 193 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | $name$(< $lt >)? => Fn, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Fn` [INFO] [stdout] ... [INFO] [stdout] 190 | / event!( [INFO] [stdout] 191 | | /// Sample event generated using `event!` macro. [INFO] [stdout] 192 | | ExampleEvent<'a> => Fn(x: u32, y: &str) + Sync + 'a [INFO] [stdout] 193 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | $name$(< $lt >)? => FnMut, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn FnMut` [INFO] [stdout] ... [INFO] [stdout] 202 | event!(MyEvent<'a> => FnMut(x: u8, borrowed: &str) + 'a); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | $name$(< $lt >)? => FnMut, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn FnMut` [INFO] [stdout] ... [INFO] [stdout] 229 | event!(MyEvent<'a> => FnMut() + 'a); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `Fn` trait object that must be used [INFO] [stdout] --> src/lib.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | self.handlers.remove(subscription.key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / event!( [INFO] [stdout] 191 | | /// Sample event generated using `event!` macro. [INFO] [stdout] 192 | | ExampleEvent<'a> => Fn(x: u32, y: &str) + Sync + 'a [INFO] [stdout] 193 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in the macro `__event_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `Fn` trait object that must be used [INFO] [stdout] --> src/lib.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | self.handlers.remove(subscription.key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / event!( [INFO] [stdout] 191 | | /// Sample event generated using `event!` macro. [INFO] [stdout] 192 | | ExampleEvent<'a> => Fn(x: u32, y: &str) + Sync + 'a [INFO] [stdout] 193 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in the macro `__event_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `FnMut` trait object that must be used [INFO] [stdout] --> src/lib.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | self.handlers.remove(subscription.key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | event!(MyEvent<'a> => FnMut(x: u8, borrowed: &str) + 'a); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in the macro `__event_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `FnMut` trait object that must be used [INFO] [stdout] --> src/lib.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | self.handlers.remove(subscription.key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | event!(MyEvent<'a> => FnMut() + 'a); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] = note: this warning originates in the macro `__event_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.84s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking eventd v0.3.2 (/tmp/fixit) [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/lib.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | $name$(< $lt >)? => Fn, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / event!( [INFO] [stdout] 191 | | /// Sample event generated using `event!` macro. [INFO] [stdout] 192 | | ExampleEvent<'a> => Fn(x: u32, y: &str) + Sync + 'a [INFO] [stdout] 193 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 90 | $name$(< $lt >)? => dyn Fn, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/lib.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | $name$(< $lt >)? => FnMut, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | event!(MyEvent<'a> => FnMut(x: u8, borrowed: &str) + 'a); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 104 | $name$(< $lt >)? => dyn FnMut, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/lib.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | $name$(< $lt >)? => FnMut, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | event!(MyEvent<'a> => FnMut() + 'a); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 104 | $name$(< $lt >)? => dyn FnMut, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/lib.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | $name$(< $lt >)? => Fn, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / event!( [INFO] [stdout] 191 | | /// Sample event generated using `event!` macro. [INFO] [stdout] 192 | | ExampleEvent<'a> => Fn(x: u32, y: &str) + Sync + 'a [INFO] [stdout] 193 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 90 | $name$(< $lt >)? => dyn Fn, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eventd` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5171109a635b8b391581c0e864d72478e1d9dbe58b4ba171bdbe31fffb3e41ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5171109a635b8b391581c0e864d72478e1d9dbe58b4ba171bdbe31fffb3e41ec", kill_on_drop: false }` [INFO] [stdout] 5171109a635b8b391581c0e864d72478e1d9dbe58b4ba171bdbe31fffb3e41ec