[INFO] cloning repository https://github.com/DanielMowitz/U4x [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielMowitz/U4x" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMowitz%2FU4x", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMowitz%2FU4x'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b924d38cd88178ce05b1de5c6d5ea0b64aaf12b0 [INFO] checking DanielMowitz/U4x against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMowitz%2FU4x" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielMowitz/U4x on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielMowitz/U4x [INFO] finished tweaking git repo https://github.com/DanielMowitz/U4x [INFO] tweaked toml for git repo https://github.com/DanielMowitz/U4x written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/DanielMowitz/U4x already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.32.1 [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d70e3ec4bb1225f2b17991e9ccb97fb1a7b05f7d6ea404385755cafd8982c9b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d70e3ec4bb1225f2b17991e9ccb97fb1a7b05f7d6ea404385755cafd8982c9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d70e3ec4bb1225f2b17991e9ccb97fb1a7b05f7d6ea404385755cafd8982c9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d70e3ec4bb1225f2b17991e9ccb97fb1a7b05f7d6ea404385755cafd8982c9b", kill_on_drop: false }` [INFO] [stdout] 0d70e3ec4bb1225f2b17991e9ccb97fb1a7b05f7d6ea404385755cafd8982c9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 394f22a449eed586b1cb1ec792287c199ebd69a636a75394d3c458a051f6af81 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "394f22a449eed586b1cb1ec792287c199ebd69a636a75394d3c458a051f6af81", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.32.1 [INFO] [stderr] Checking frame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub store_refs: Option>>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:216:55 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn enter_refs(&mut self, references: Vec<&'a mut Store<'a>>) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | let mut local_store_refs: Vec>>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | NoNewAction(&'a mut Store<'a>), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | NewAction(Vec, /*add to secondary*/ bool, &'a mut Store<'a>), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | NoNewAction(&'a mut super::scene_manager::Scene<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::scene_manager::Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | NewAction(Vec, &'a mut super::scene_manager::Scene<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::scene_manager::Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/renderer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/renderer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/img.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | type Item = (Vec); [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | click_fn: Box MenuSubAction>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> MenuSubAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn set_onclick(&mut self, fun: Box MenuSubAction>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> MenuSubAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(sprite: Sprite, click_fn: Box MenuSubAction>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> MenuSubAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene_manager.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | scenes: Option>>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene_manager.rs:68:55 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn add_scenes(&mut self, references: Vec<&'a mut Scene<'a>>) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene_manager.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 69 | let mut local_scenes: Vec>>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:86 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn game_loop<'a>(disp: & mut dispatcher::Dispatcher<'a>, store_refs: Vec<&'a mut store::Store<'a>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn store::Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[test]` attribute is only allowed on non associated functions [INFO] [stdout] --> src/renderer.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 84 | / pub fn test(&mut self, img: Img) -> bool { [INFO] [stdout] 85 | | print!("This is the Test function!\n"); [INFO] [stdout] 86 | | self.canvas.set_draw_color(Color::RGB(0, 0, 0)); [INFO] [stdout] 87 | | self.canvas.clear(); [INFO] [stdout] ... | [INFO] [stdout] 101 | | return true; [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_object::TestObj` [INFO] [stdout] --> src/tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use test_object::TestObj; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `TestObj` in `test_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | pub store_refs: Option>>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:216:55 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn enter_refs(&mut self, references: Vec<&'a mut Store<'a>>) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:217:48 [INFO] [stdout] | [INFO] [stdout] 217 | let mut local_store_refs: Vec>>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | NoNewAction(&'a mut Store<'a>), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:6:60 [INFO] [stdout] | [INFO] [stdout] 6 | NewAction(Vec, /*add to secondary*/ bool, &'a mut Store<'a>), [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | NoNewAction(&'a mut super::scene_manager::Scene<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::scene_manager::Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | NewAction(Vec, &'a mut super::scene_manager::Scene<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::scene_manager::Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/img.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | type Item = (Vec); [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | click_fn: Box MenuSubAction>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> MenuSubAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn set_onclick(&mut self, fun: Box MenuSubAction>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> MenuSubAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/button.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(sprite: Sprite, click_fn: Box MenuSubAction>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> MenuSubAction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene_manager.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | scenes: Option>>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene_manager.rs:68:55 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn add_scenes(&mut self, references: Vec<&'a mut Scene<'a>>) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene_manager.rs:69:44 [INFO] [stdout] | [INFO] [stdout] 69 | let mut local_scenes: Vec>>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scene<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::video::Window` [INFO] [stdout] --> src/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sdl2::video::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:20:86 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn game_loop<'a>(disp: & mut dispatcher::Dispatcher<'a>, store_refs: Vec<&'a mut store::Store<'a>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn store::Store<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/dispatcher.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | MenuState::InMenu(time) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub` [INFO] [stdout] --> src/dispatcher.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | ... Action::MenuAction(ref sub) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/renderer.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | x, y, timestamp, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/renderer.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | window_id, which, mouse_btn, clicks [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/renderer.rs:201:16 [INFO] [stdout] | [INFO] [stdout] 201 | window_id, which, mouse_btn, clicks [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/renderer.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | window_id, which, mouse_btn, clicks [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/renderer.rs:212:51 [INFO] [stdout] | [INFO] [stdout] 212 | fn receive_action(&'a mut self, action: &Action, dt: &f64) -> ReceiveActionReturnOption { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/test_object.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | &Action::SendFrameAction(w, h, p) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/test_object.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | &Action::SendFrameAction(w, h, p) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/test_object.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | &Action::SendFrameAction(w, h, p) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/scene_manager.rs:89:66 [INFO] [stdout] | [INFO] [stdout] 89 | fn receive_action(&'a mut self, action: &super::action::Action, dt: &f64) -> super::store::ReceiveActionReturnOption { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `video_subsystem` [INFO] [stdout] --> src/renderer.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | video_subsystem: VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `current_scene` [INFO] [stdout] --> src/scene_manager.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 57 | current_scene: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `duration_float` has been stable since 1.38.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(duration_float)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/tests.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | let mut test_button = Button::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 2 arguments [INFO] [stdout] 138 | button_sprite, [INFO] [stdout] | ------------- [INFO] [stdout] 139 | (0, 0), [INFO] [stdout] | ------ [INFO] [stdout] 140 | / Box::new(|| { [INFO] [stdout] 141 | | println!("Clicked button!"); [INFO] [stdout] 142 | | return MenuSubAction::QuitAction; [INFO] [stdout] 143 | | }), [INFO] [stdout] | |__________- supplied 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/button.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(sprite: Sprite, click_fn: Box MenuSubAction>) -> Self { [INFO] [stdout] | ^^^ -------------- ------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `frame` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0583]: file not found for module `main_menu` [INFO] [stdout] --> src/bin.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod main_menu; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `main_menu`, create file "src/main_menu.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `space_ship` [INFO] [stdout] --> src/bin.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod space_ship; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `space_ship`, create file "src/space_ship.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `light_path` [INFO] [stdout] --> src/bin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod light_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `light_path`, create file "src/light_path.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `main_menu` [INFO] [stdout] --> src/bin.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod main_menu; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `main_menu`, create file "src/main_menu.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `space_ship` [INFO] [stdout] --> src/bin.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod space_ship; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `space_ship`, create file "src/space_ship.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `light_path` [INFO] [stdout] --> src/bin.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | mod light_path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `light_path`, create file "src/light_path.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Spaceship` in `space_ship` [INFO] [stdout] --> src/bin.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ship = space_ship::Spaceship::new(); [INFO] [stdout] | ^^^^^^^^^ could not find `Spaceship` in `space_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MainMenu` in `main_menu` [INFO] [stdout] --> src/bin.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | let mut menu = main_menu::MainMenu::new(); [INFO] [stdout] | ^^^^^^^^ could not find `MainMenu` in `main_menu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Spaceship` in `space_ship` [INFO] [stdout] --> src/bin.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ship = space_ship::Spaceship::new(); [INFO] [stdout] | ^^^^^^^^^ could not find `Spaceship` in `space_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `MainMenu` in `main_menu` [INFO] [stdout] --> src/bin.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | let mut menu = main_menu::MainMenu::new(); [INFO] [stdout] | ^^^^^^^^ could not find `MainMenu` in `main_menu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "394f22a449eed586b1cb1ec792287c199ebd69a636a75394d3c458a051f6af81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "394f22a449eed586b1cb1ec792287c199ebd69a636a75394d3c458a051f6af81", kill_on_drop: false }` [INFO] [stdout] 394f22a449eed586b1cb1ec792287c199ebd69a636a75394d3c458a051f6af81