[INFO] fetching crate pistoncore-input 1.0.1...
[INFO] checking pistoncore-input-1.0.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1
[INFO] extracting crate pistoncore-input 1.0.1 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate pistoncore-input 1.0.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d27e70a80e580ee4f07100e95f324db5e2838f2773f36fc00ae5666108e625ab
[INFO] running `Command { std: "docker" "start" "-a" "d27e70a80e580ee4f07100e95f324db5e2838f2773f36fc00ae5666108e625ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d27e70a80e580ee4f07100e95f324db5e2838f2773f36fc00ae5666108e625ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d27e70a80e580ee4f07100e95f324db5e2838f2773f36fc00ae5666108e625ab", kill_on_drop: false }`
[INFO] [stdout] d27e70a80e580ee4f07100e95f324db5e2838f2773f36fc00ae5666108e625ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7f40efa49a37e8f3e5aa90774d17b1292a91143ecf18608a1cb3fe8dfa1cb93c
[INFO] running `Command { std: "docker" "start" "-a" "7f40efa49a37e8f3e5aa90774d17b1292a91143ecf18608a1cb3fe8dfa1cb93c", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.101
[INFO] [stderr] Checking piston-float v1.0.1
[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[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[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[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] [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] [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 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] 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] 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: E0038, E0061.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[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 "mouse") due to 6 previous errors; 3 warnings emitted
[INFO] [stderr] error: could not compile `pistoncore-input` (bench "idle") due to 2 previous errors
[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] For more information about this error, try `rustc --explain E0277`.
[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[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::Input`
[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] [stderr] error: could not compile `pistoncore-input` (bench "text") due to 1 previous error
[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] For more information about this error, try `rustc --explain E0277`.
[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] [stderr] error: could not compile `pistoncore-input` (bench "after_render") due to 2 previous errors
[INFO] [stderr] error: could not compile `pistoncore-input` (bench "controller_axis") due to 1 previous error
[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] 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 "resize") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "7f40efa49a37e8f3e5aa90774d17b1292a91143ecf18608a1cb3fe8dfa1cb93c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f40efa49a37e8f3e5aa90774d17b1292a91143ecf18608a1cb3fe8dfa1cb93c", kill_on_drop: false }`
[INFO] [stdout] 7f40efa49a37e8f3e5aa90774d17b1292a91143ecf18608a1cb3fe8dfa1cb93c