[INFO] fetching crate pistoncore-input 1.0.1... [INFO] checking pistoncore-input-1.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pistoncore-input 1.0.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate pistoncore-input 1.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pistoncore-input 1.0.1 [INFO] finished tweaking crates.io crate pistoncore-input 1.0.1 [INFO] tweaked toml for crates.io crate pistoncore-input 1.0.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 817d289caa0b16edfd5acaead5b51d9850e3228fc77f4fada8e3a5989307cdb1 [INFO] running `Command { std: "docker" "start" "-a" "817d289caa0b16edfd5acaead5b51d9850e3228fc77f4fada8e3a5989307cdb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "817d289caa0b16edfd5acaead5b51d9850e3228fc77f4fada8e3a5989307cdb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "817d289caa0b16edfd5acaead5b51d9850e3228fc77f4fada8e3a5989307cdb1", kill_on_drop: false }` [INFO] [stdout] 817d289caa0b16edfd5acaead5b51d9850e3228fc77f4fada8e3a5989307cdb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81778f81a445736d807522c57d3172fe23d75aefab62465d7a755dfeae99fd49 [INFO] running `Command { std: "docker" "start" "-a" "81778f81a445736d807522c57d3172fe23d75aefab62465d7a755dfeae99fd49", kill_on_drop: false }` [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking pistoncore-input v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `input::Input: TextEvent` is not satisfied [INFO] [stdout] --> benches/text.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | let _: Option = TextEvent::from_text("hello", &e); [INFO] [stdout] | -------------------- ^^ the trait `TextEvent` is not implemented for `input::Input` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `TextEvent` is implemented for `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::Input: ControllerAxisEvent` is not satisfied [INFO] [stdout] --> benches/controller_axis.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 17 | let _: Option = ControllerAxisEvent::from_controller_axis_args( [INFO] [stdout] | ---------------------------------------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 23 | &e, [INFO] [stdout] | ^^ the trait `ControllerAxisEvent` is not implemented for `input::Input` [INFO] [stdout] | [INFO] [stdout] = help: the trait `ControllerAxisEvent` is implemented for `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> benches/mouse.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let e = Input::Move(Motion::MouseCursor(0.0, 0.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --- --- unexpected argument #2 of type `{float}` [INFO] [stdout] | | [INFO] [stdout] | expected `[f64; 2]`, found floating-point number [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | MouseCursor([f64; 2]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 11 - let e = Input::Move(Motion::MouseCursor(0.0, 0.0)); [INFO] [stdout] 11 + let e = Input::Move(Motion::MouseCursor(/* [f64; 2] */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/mouse.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | let _: Option = MouseCursorEvent::from_xy(1.0, 0.0, &e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | let _: Option = ::from_xy(1.0, 0.0, &e); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::Input: FocusEvent` is not satisfied [INFO] [stdout] --> benches/focus.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | let _: Option = FocusEvent::from_focused(true, &e); [INFO] [stdout] | ------------------------ ^^ the trait `FocusEvent` is not implemented for `input::Input` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FocusEvent` is implemented for `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::Input: CursorEvent` is not satisfied [INFO] [stdout] --> benches/cursor.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | let _: Option = CursorEvent::from_cursor(true, &e); [INFO] [stdout] | ------------------------ ^^ the trait `CursorEvent` is not implemented for `input::Input` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `CursorEvent` is implemented for `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (bench "controller_axis") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (bench "text") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Release` found for enum `input::Input` in the current scope [INFO] [stdout] --> benches/release.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let e = Input::Release(Button::Keyboard(Key::S)); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `AfterRender` found for enum `input::Input` in the current scope [INFO] [stdout] --> benches/after_render.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let e = Input::AfterRender(AfterRenderArgs); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> benches/resize.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let e = Input::Resize(0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^ - - unexpected argument #2 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | expected `ResizeArgs`, found integer [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | Resize(ResizeArgs), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 11 - let e = Input::Resize(0, 0); [INFO] [stdout] 11 + let e = Input::Resize(/* ResizeArgs */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::Input: ReleaseEvent` is not satisfied [INFO] [stdout] --> benches/release.rs:14:66 [INFO] [stdout] | [INFO] [stdout] 14 | let _: Option = ReleaseEvent::from_button(button, &e); [INFO] [stdout] | ------------------------- ^^ the trait `ButtonEvent` is not implemented for `input::Input`, which is required by `input::Input: ReleaseEvent` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `ButtonEvent` is implemented for `Event` [INFO] [stdout] = note: required for `input::Input` to implement `ReleaseEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/resize.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | let _: Option = ResizeEvent::from_width_height(100, 100, &e); [INFO] [stdout] | ^^^^^^^^^^^ [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: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | let _: Option = ::from_width_height(100, 100, &e); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::Input: AfterRenderEvent` is not satisfied [INFO] [stdout] --> benches/after_render.rs:14:80 [INFO] [stdout] | [INFO] [stdout] 14 | let _: Option = AfterRenderEvent::from_after_render_args(&args, &e); [INFO] [stdout] | ---------------------------------------- ^^ the trait `AfterRenderEvent` is not implemented for `input::Input` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `AfterRenderEvent` is implemented for `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Idle` found for enum `input::Input` in the current scope [INFO] [stdout] --> benches/idle.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let e = Input::Idle(IdleArgs { dt: 1.0 }); [INFO] [stdout] | ^^^^ variant or associated item not found in `Input` [INFO] [stdout] | [INFO] [stdout] help: there is a method `le` with a similar name [INFO] [stdout] | [INFO] [stdout] 11 | let e = Input::le(IdleArgs { dt: 1.0 }); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (bench "focus") due to 2 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Render` found for enum `input::Input` in the current scope [INFO] [stdout] --> benches/render.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let e = Input::Render(RenderArgs { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RenderArgs` has no field named `width` [INFO] [stdout] --> benches/render.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | width: 0, [INFO] [stdout] | ^^^^^ `RenderArgs` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `window_size`, `draw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::Input: IdleEvent` is not satisfied [INFO] [stdout] --> benches/idle.rs:14:65 [INFO] [stdout] | [INFO] [stdout] 14 | let _: Option = IdleEvent::from_idle_args(&args, &e); [INFO] [stdout] | ------------------------- ^^ the trait `IdleEvent` is not implemented for `input::Input` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `IdleEvent` is implemented for `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RenderArgs` has no field named `height` [INFO] [stdout] --> benches/render.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | height: 0, [INFO] [stdout] | ^^^^^^ `RenderArgs` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `window_size`, `draw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RenderArgs` has no field named `draw_width` [INFO] [stdout] --> benches/render.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | draw_width: 0, [INFO] [stdout] | ^^^^^^^^^^ `RenderArgs` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `window_size`, `draw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RenderArgs` has no field named `draw_height` [INFO] [stdout] --> benches/render.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | draw_height: 0, [INFO] [stdout] | ^^^^^^^^^^^ `RenderArgs` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `window_size`, `draw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RenderArgs` has no field named `width` [INFO] [stdout] --> benches/render.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | width: 10, [INFO] [stdout] | ^^^^^ `RenderArgs` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `window_size`, `draw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (bench "cursor") due to 2 previous errors [INFO] [stdout] error[E0560]: struct `RenderArgs` has no field named `height` [INFO] [stdout] --> benches/render.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | height: 10, [INFO] [stdout] | ^^^^^^ `RenderArgs` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `window_size`, `draw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RenderArgs` has no field named `draw_width` [INFO] [stdout] --> benches/render.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | draw_width: 10, [INFO] [stdout] | ^^^^^^^^^^ `RenderArgs` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `window_size`, `draw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `RenderArgs` has no field named `draw_height` [INFO] [stdout] --> benches/render.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | draw_height: 10, [INFO] [stdout] | ^^^^^^^^^^^ `RenderArgs` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `window_size`, `draw_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_xy` found for trait object `dyn MouseCursorEvent` in the current scope [INFO] [stdout] --> benches/mouse.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | let _: Option = MouseCursorEvent::from_xy(1.0, 0.0, &e); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `dyn MouseCursorEvent` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::Input: RenderEvent` is not satisfied [INFO] [stdout] --> benches/render.rs:26:69 [INFO] [stdout] | [INFO] [stdout] 26 | let _: Option = RenderEvent::from_render_args(&args, &e); [INFO] [stdout] | ----------------------------- ^^ the trait `RenderEvent` is not implemented for `input::Input` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `RenderEvent` is implemented for `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Press` found for enum `input::Input` in the current scope [INFO] [stdout] --> benches/press.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let e = Input::Press(Button::Keyboard(Key::S)); [INFO] [stdout] | ^^^^^ variant or associated item not found in `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> benches/mouse.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let e = Input::Move(Motion::MouseRelative(0.0, 0.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ --- --- unexpected argument #2 of type `{float}` [INFO] [stdout] | | [INFO] [stdout] | expected `[f64; 2]`, found floating-point number [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | MouseRelative([f64; 2]), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 19 - let e = Input::Move(Motion::MouseRelative(0.0, 0.0)); [INFO] [stdout] 19 + let e = Input::Move(Motion::MouseRelative(/* [f64; 2] */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/mouse.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | let _: Option = MouseRelativeEvent::from_xy(1.0, 0.0, &e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | let _: Option = ::from_xy(1.0, 0.0, &e); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::Input: PressEvent` is not satisfied [INFO] [stdout] --> benches/press.rs:14:64 [INFO] [stdout] | [INFO] [stdout] 14 | let _: Option = PressEvent::from_button(button, &e); [INFO] [stdout] | ----------------------- ^^ the trait `ButtonEvent` is not implemented for `input::Input`, which is required by `input::Input: PressEvent` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `ButtonEvent` is implemented for `Event` [INFO] [stdout] = note: required for `input::Input` to implement `PressEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (bench "after_render") due to 3 previous errors [INFO] [stderr] error: could not compile `pistoncore-input` (bench "release") due to 3 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `from_width_height` found for trait object `dyn ResizeEvent` in the current scope [INFO] [stdout] --> benches/resize.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | let _: Option = ResizeEvent::from_width_height(100, 100, &e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `dyn ResizeEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_xy` found for trait object `dyn MouseRelativeEvent` in the current scope [INFO] [stdout] --> benches/mouse.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | let _: Option = MouseRelativeEvent::from_xy(1.0, 0.0, &e); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `dyn MouseRelativeEvent` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Update` found for enum `input::Input` in the current scope [INFO] [stdout] --> benches/update.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let e = Input::Update(UpdateArgs { dt: 0.0 }); [INFO] [stdout] | ^^^^^^ variant or associated item not found in `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> benches/mouse.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let e = Input::Move(Motion::MouseScroll(0.0, 0.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --- --- unexpected argument #2 of type `{float}` [INFO] [stdout] | | [INFO] [stdout] | expected `[f64; 2]`, found floating-point number [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | MouseScroll([f64; 2]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 27 - let e = Input::Move(Motion::MouseScroll(0.0, 0.0)); [INFO] [stdout] 27 + let e = Input::Move(Motion::MouseScroll(/* [f64; 2] */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/mouse.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | let _: Option = MouseScrollEvent::from_xy(1.0, 0.0, &e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | let _: Option = ::from_xy(1.0, 0.0, &e); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `input::Input: UpdateEvent` is not satisfied [INFO] [stdout] --> benches/update.rs:14:69 [INFO] [stdout] | [INFO] [stdout] 14 | let _: Option = UpdateEvent::from_update_args(&args, &e); [INFO] [stdout] | ----------------------------- ^^ the trait `UpdateEvent` is not implemented for `input::Input` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `UpdateEvent` is implemented for `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (bench "idle") due to 3 previous errors [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_xy` found for trait object `dyn MouseScrollEvent` in the current scope [INFO] [stdout] --> benches/mouse.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | let _: Option = MouseScrollEvent::from_xy(1.0, 0.0, &e); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `dyn MouseScrollEvent` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (bench "render") due to 11 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (bench "press") due to 3 previous errors [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pistoncore-input` (bench "resize") due to 3 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `pistoncore-input` (bench "update") due to 3 previous errors [INFO] [stderr] error: could not compile `pistoncore-input` (bench "mouse") due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "81778f81a445736d807522c57d3172fe23d75aefab62465d7a755dfeae99fd49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81778f81a445736d807522c57d3172fe23d75aefab62465d7a755dfeae99fd49", kill_on_drop: false }` [INFO] [stdout] 81778f81a445736d807522c57d3172fe23d75aefab62465d7a755dfeae99fd49