[INFO] fetching crate pistoncore-input 1.0.1...
[INFO] checking pistoncore-input-1.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1
[INFO] extracting crate pistoncore-input 1.0.1 into /workspace/builds/worker-3-tc1/source
[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-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate pistoncore-input 1.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.9.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e39fe7aad5e4bfaa41896137bbab155ec00889253820279a9024f591960456a9
[INFO] running `Command { std: "docker" "start" "-a" "e39fe7aad5e4bfaa41896137bbab155ec00889253820279a9024f591960456a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e39fe7aad5e4bfaa41896137bbab155ec00889253820279a9024f591960456a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e39fe7aad5e4bfaa41896137bbab155ec00889253820279a9024f591960456a9", kill_on_drop: false }`
[INFO] [stdout] e39fe7aad5e4bfaa41896137bbab155ec00889253820279a9024f591960456a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 875450763bbcaba0ffba561e364cd0adc8aaa50822fd71605d1592e3ed7c76bf
[INFO] running `Command { std: "docker" "start" "-a" "875450763bbcaba0ffba561e364cd0adc8aaa50822fd71605d1592e3ed7c76bf", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.101
[INFO] [stderr] Compiling unicode-ident v1.0.18
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling serde_json v1.0.143
[INFO] [stderr] Checking piston-float v1.0.1
[INFO] [stderr] Checking bitflags v1.3.2
[INFO] [stderr] Checking itoa v1.0.15
[INFO] [stderr] Checking memchr v2.7.5
[INFO] [stderr] Checking ryu v1.0.20
[INFO] [stderr] Checking piston-viewport v1.0.2
[INFO] [stderr] Compiling quote v1.0.40
[INFO] [stderr] Compiling syn v2.0.106
[INFO] [stderr] Compiling serde_derive v1.0.219
[INFO] [stderr] Checking pistoncore-input v1.0.1 (/opt/rustwide/workdir)
[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 a dyn-compatible 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[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::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[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] [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[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] 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] [stdout] error[E0038]: the trait `MouseCursorEvent` is not dyn compatible
[INFO] [stdout] --> benches/mouse.rs:13:32
[INFO] [stdout] |
[INFO] [stdout] 13 | let _: Option = MouseCursorEvent::from_xy(1.0, 0.0, &e);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ `MouseCursorEvent` is not dyn compatible
[INFO] [stdout] |
[INFO] [stdout] = note: the trait is not dyn compatible because it requires `Self: Sized`
[INFO] [stdout] = note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout] for more information, visit
[INFO] [stdout] = help: only type `input::Event` implements `MouseCursorEvent`; consider using it directly instead.
[INFO] [stdout]
[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::Input`
[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`
[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] 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] 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] 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 a dyn-compatible 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[E0038]: the trait `ResizeEvent` is not dyn compatible
[INFO] [stdout] --> benches/resize.rs:13:32
[INFO] [stdout] |
[INFO] [stdout] 13 | let _: Option = ResizeEvent::from_width_height(100, 100, &e);
[INFO] [stdout] | ^^^^^^^^^^^ `ResizeEvent` is not dyn compatible
[INFO] [stdout] |
[INFO] [stdout] = note: the trait is not dyn compatible because it requires `Self: Sized`
[INFO] [stdout] = note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout] for more information, visit
[INFO] [stdout] = help: only type `input::Event` implements `ResizeEvent`; consider using it directly instead.
[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 a dyn-compatible 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[E0038]: the trait `MouseRelativeEvent` is not dyn compatible
[INFO] [stdout] --> benches/mouse.rs:21:32
[INFO] [stdout] |
[INFO] [stdout] 21 | let _: Option = MouseRelativeEvent::from_xy(1.0, 0.0, &e);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `MouseRelativeEvent` is not dyn compatible
[INFO] [stdout] |
[INFO] [stdout] = note: the trait is not dyn compatible because it requires `Self: Sized`
[INFO] [stdout] = note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout] for more information, visit
[INFO] [stdout] = help: only type `input::Event` implements `MouseRelativeEvent`; consider using it directly instead.
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0038, E0061.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[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::Input`
[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] [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] 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 "render") due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `pistoncore-input` (bench "resize") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] error: could not compile `pistoncore-input` (bench "update") due to 2 previous errors
[INFO] [stderr] error: could not compile `pistoncore-input` (bench "release") due to 2 previous errors
[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 a dyn-compatible 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[E0038]: the trait `MouseScrollEvent` is not dyn compatible
[INFO] [stdout] --> benches/mouse.rs:29:32
[INFO] [stdout] |
[INFO] [stdout] 29 | let _: Option = MouseScrollEvent::from_xy(1.0, 0.0, &e);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ `MouseScrollEvent` is not dyn compatible
[INFO] [stdout] |
[INFO] [stdout] = note: the trait is not dyn compatible because it requires `Self: Sized`
[INFO] [stdout] = note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout] for more information, visit
[INFO] [stdout] = help: only type `input::Event` implements `MouseScrollEvent`; consider using it directly instead.
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0038, E0061.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `pistoncore-input` (bench "mouse") due to 6 previous errors; 3 warnings emitted
[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] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `pistoncore-input` (bench "focus") due to 1 previous error
[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::Input`
[INFO] [stdout] |
[INFO] [stdout] help: there is a method `le` with a similar name
[INFO] [stdout] |
[INFO] [stdout] 11 - let e = Input::Idle(IdleArgs { dt: 1.0 });
[INFO] [stdout] 11 + let e = Input::le(IdleArgs { dt: 1.0 });
[INFO] [stdout] |
[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] 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 "idle") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "875450763bbcaba0ffba561e364cd0adc8aaa50822fd71605d1592e3ed7c76bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "875450763bbcaba0ffba561e364cd0adc8aaa50822fd71605d1592e3ed7c76bf", kill_on_drop: false }`
[INFO] [stdout] 875450763bbcaba0ffba561e364cd0adc8aaa50822fd71605d1592e3ed7c76bf