[INFO] cloning repository https://github.com/LordSentox/stupid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LordSentox/stupid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Fstupid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Fstupid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3958ad8990b714250574365d2e5d0f6b12a1379 [INFO] checking LordSentox/stupid against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Fstupid" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LordSentox/stupid on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LordSentox/stupid [INFO] finished tweaking git repo https://github.com/LordSentox/stupid [INFO] tweaked toml for git repo https://github.com/LordSentox/stupid written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/LordSentox/stupid already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03b9509a088226efd30966554fcab11f5963c43b9d099d042dcab6478bfd64c5 [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" "03b9509a088226efd30966554fcab11f5963c43b9d099d042dcab6478bfd64c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03b9509a088226efd30966554fcab11f5963c43b9d099d042dcab6478bfd64c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03b9509a088226efd30966554fcab11f5963c43b9d099d042dcab6478bfd64c5", kill_on_drop: false }` [INFO] [stdout] 03b9509a088226efd30966554fcab11f5963c43b9d099d042dcab6478bfd64c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2db5a42643b90f644f30874a2536f187d30d7cb681a8f048f62d6811d68b498e [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" "2db5a42643b90f644f30874a2536f187d30d7cb681a8f048f62d6811d68b498e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking stupid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected pattern, found `}` [INFO] [stdout] --> src/srv/connection_hub.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | }, [INFO] [stdout] | ^ expected pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packets/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Packet { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `}` [INFO] [stdout] --> src/srv/connection_hub.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | }, [INFO] [stdout] | ^ expected pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/srv/user.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | thread::sleep_ms(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/character.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/graphics/drawable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/graphics/render_window.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::Timespec` [INFO] [stdout] --> src/graphics/render_window.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use time::{self, Timespec}; [INFO] [stdout] | ^^^^^^^^ no `Timespec` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/graphics/sprite.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::render::{Renderer, Texture}; [INFO] [stdout] | ^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/graphics/texture_manager.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::render::{Texture, Renderer}; [INFO] [stdout] | ^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::SdlResult` [INFO] [stdout] --> src/graphics/texture_manager.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::{SdlResult}; [INFO] [stdout] | ^^^^^^^^^ no `SdlResult` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::sdl2::render::Renderer` [INFO] [stdout] --> src/static_object.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use self::sdl2::render::{Texture, Renderer}; [INFO] [stdout] | ^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packets/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Packet { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/graphics/render_window.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | last_time: time::get_time(), [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/graphics/render_window.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let cur_time = time::get_time(); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/graphics/sprite.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | texture: Rc, [INFO] [stdout] | ^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Sprite<'a> { [INFO] [stdout] 10 | texture: Rc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/graphics/texture_manager.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | texture: Rc, [INFO] [stdout] | ^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TextureEntry<'a> { [INFO] [stdout] 20 | texture: Rc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/static_object.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | texture: Rc, [INFO] [stdout] | ^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 13 | pub struct StaticObject<'a> { [INFO] [stdout] 14 | texture: Rc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/srv/user.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | thread::sleep_ms(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/character.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/graphics/drawable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/graphics/render_window.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::Timespec` [INFO] [stdout] --> src/graphics/render_window.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use time::{self, Timespec}; [INFO] [stdout] | ^^^^^^^^ no `Timespec` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/graphics/sprite.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::render::{Renderer, Texture}; [INFO] [stdout] | ^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::render::Renderer` [INFO] [stdout] --> src/graphics/texture_manager.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::render::{Texture, Renderer}; [INFO] [stdout] | ^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sdl2::SdlResult` [INFO] [stdout] --> src/graphics/texture_manager.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use sdl2::{SdlResult}; [INFO] [stdout] | ^^^^^^^^^ no `SdlResult` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::sdl2::render::Renderer` [INFO] [stdout] --> src/static_object.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use self::sdl2::render::{Texture, Renderer}; [INFO] [stdout] | ^^^^^^^^ no `Renderer` in `render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Packet` cannot be made into an object [INFO] [stdout] --> src/packets/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Packet { [INFO] [stdout] | ^^^^^^ the trait `Packet` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 25 | pub trait Packet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 29 | fn id() -> u8; [INFO] [stdout] | -- ...because associated function `id` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 35 | const SIZE: u32; [INFO] [stdout] | ---- ...because it contains this associated `const` [INFO] [stdout] ... [INFO] [stdout] 41 | fn from_bytes(data: &[u8]) -> Self; [INFO] [stdout] | ---------- ...because associated function `from_bytes` has no `self` parameter [INFO] [stdout] | [INFO] [stdout] = help: consider moving `SIZE` to another trait [INFO] [stdout] help: consider turning `id` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 29 | fn id() -> u8 where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `from_bytes` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 41 | fn from_bytes(data: &[u8]) -> Self where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/graphics/render_window.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | last_time: time::get_time(), [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/graphics/render_window.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | let cur_time = time::get_time(); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Packet` cannot be made into an object [INFO] [stdout] --> src/packets/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Packet { [INFO] [stdout] | ^^^^^^ the trait `Packet` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 25 | pub trait Packet { [INFO] [stdout] | ------ this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 29 | fn id() -> u8; [INFO] [stdout] | -- ...because associated function `id` has no `self` parameter [INFO] [stdout] ... [INFO] [stdout] 35 | const SIZE: u32; [INFO] [stdout] | ---- ...because it contains this associated `const` [INFO] [stdout] ... [INFO] [stdout] 41 | fn from_bytes(data: &[u8]) -> Self; [INFO] [stdout] | ---------- ...because associated function `from_bytes` has no `self` parameter [INFO] [stdout] | [INFO] [stdout] = help: consider moving `SIZE` to another trait [INFO] [stdout] help: consider turning `id` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 29 | fn id() -> u8 where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider turning `from_bytes` into a method by giving it a `&self` argument or constraining it so it does not apply to trait objects [INFO] [stdout] | [INFO] [stdout] 41 | fn from_bytes(data: &[u8]) -> Self where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/graphics/sprite.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | texture: Rc, [INFO] [stdout] | ^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Sprite<'a> { [INFO] [stdout] 10 | texture: Rc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/graphics/texture_manager.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | texture: Rc, [INFO] [stdout] | ^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TextureEntry<'a> { [INFO] [stdout] 20 | texture: Rc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/static_object.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | texture: Rc, [INFO] [stdout] | ^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 13 | pub struct StaticObject<'a> { [INFO] [stdout] 14 | texture: Rc>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stupid` [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [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[E0599]: no method named `renderer` found for struct `sdl2::video::Window` in the current scope [INFO] [stdout] --> src/graphics/render_window.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | let renderer = Arc::new(Mutex::new(window.renderer().accelerated().build().unwrap())); [INFO] [stdout] | ^^^^^^^^ method not found in `sdl2::video::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `texture_entry` [INFO] [stdout] --> src/graphics/sprite.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(texture_entry: &TextureEntry, pos: (f32, f32), size: Option<(u32, u32)>) -> Sprite { [INFO] [stdout] | ------------- help: add explicit lifetime `'static` to the type of `texture_entry`: `&'static TextureEntry` [INFO] [stdout] ... [INFO] [stdout] 28 | texture: texture_entry.texture(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `texture_entry` [INFO] [stdout] --> src/graphics/sprite.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(texture_entry: &TextureEntry, pos: (f32, f32), size: Option<(u32, u32)>) -> Sprite { [INFO] [stdout] | ------------- help: add explicit lifetime `'static` to the type of `texture_entry`: `&'static TextureEntry` [INFO] [stdout] ... [INFO] [stdout] 39 | texture: texture_entry.texture(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/graphics/sprite.rs:127:52 [INFO] [stdout] | [INFO] [stdout] 127 | renderer.copy_ex(&self.texture, None, Some(Rect::new_unwrap(self.x as i32, self.y as i32, self.width, self.height)), self.angle, None, ... [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `texture` [INFO] [stdout] --> src/graphics/texture_manager.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(texture: Texture, width: u32, height: u32) -> TextureEntry { [INFO] [stdout] | ------- help: add explicit lifetime `'static` to the type of `texture`: `Texture<'static>` [INFO] [stdout] 32 | TextureEntry { [INFO] [stdout] 33 | texture: Rc::new(texture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `texture_manager` [INFO] [stdout] --> src/static_object.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(texture_manager: &mut TextureManager, texture_name: &str, x: i32, y: i32, width: Option, height: Option) -> Result<... [INFO] [stdout] | ------------------- help: add explicit lifetime `'static` to the type of `texture_manager`: `&'static mut TextureManager` [INFO] [stdout] ... [INFO] [stdout] 41 | texture: texture_entry.texture(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/static_object.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | renderer.copy(&self.texture, None, Some(Rect::new_unwrap(self.x, self.y, self.width, self.height))); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0425, E0432, E0599, E0621. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `renderer` found for struct `sdl2::video::Window` in the current scope [INFO] [stdout] --> src/graphics/render_window.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | let renderer = Arc::new(Mutex::new(window.renderer().accelerated().build().unwrap())); [INFO] [stdout] | ^^^^^^^^ method not found in `sdl2::video::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `texture_entry` [INFO] [stdout] --> src/graphics/sprite.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(texture_entry: &TextureEntry, pos: (f32, f32), size: Option<(u32, u32)>) -> Sprite { [INFO] [stdout] | ------------- help: add explicit lifetime `'static` to the type of `texture_entry`: `&'static TextureEntry` [INFO] [stdout] ... [INFO] [stdout] 28 | texture: texture_entry.texture(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `texture_entry` [INFO] [stdout] --> src/graphics/sprite.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(texture_entry: &TextureEntry, pos: (f32, f32), size: Option<(u32, u32)>) -> Sprite { [INFO] [stdout] | ------------- help: add explicit lifetime `'static` to the type of `texture_entry`: `&'static TextureEntry` [INFO] [stdout] ... [INFO] [stdout] 39 | texture: texture_entry.texture(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/graphics/sprite.rs:127:52 [INFO] [stdout] | [INFO] [stdout] 127 | renderer.copy_ex(&self.texture, None, Some(Rect::new_unwrap(self.x as i32, self.y as i32, self.width, self.height)), self.angle, None, ... [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `texture` [INFO] [stdout] --> src/graphics/texture_manager.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(texture: Texture, width: u32, height: u32) -> TextureEntry { [INFO] [stdout] | ------- help: add explicit lifetime `'static` to the type of `texture`: `Texture<'static>` [INFO] [stdout] 32 | TextureEntry { [INFO] [stdout] 33 | texture: Rc::new(texture), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0621]: explicit lifetime required in the type of `texture_manager` [INFO] [stdout] --> src/static_object.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(texture_manager: &mut TextureManager, texture_name: &str, x: i32, y: i32, width: Option, height: Option) -> Result<... [INFO] [stdout] | ------------------- help: add explicit lifetime `'static` to the type of `texture_manager`: `&'static mut TextureManager` [INFO] [stdout] ... [INFO] [stdout] 41 | texture: texture_entry.texture(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'static` required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_unwrap` found for struct `Rect` in the current scope [INFO] [stdout] --> src/static_object.rs:53:49 [INFO] [stdout] | [INFO] [stdout] 53 | renderer.copy(&self.texture, None, Some(Rect::new_unwrap(self.x, self.y, self.width, self.height))); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0425, E0432, E0599, E0621. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2db5a42643b90f644f30874a2536f187d30d7cb681a8f048f62d6811d68b498e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db5a42643b90f644f30874a2536f187d30d7cb681a8f048f62d6811d68b498e", kill_on_drop: false }` [INFO] [stdout] 2db5a42643b90f644f30874a2536f187d30d7cb681a8f048f62d6811d68b498e