After fixing all errors I build again, and everything seems to work but when I run:
BUILD
$ cargo buildOutput :+1:Finished dev [unoptimized + debuginfo] target(s) in 0.1 secs
RUN
$ cargo runOutput :-1:Finished dev [unoptimized + debuginfo] target(s) in 0.0 secsRunning 'target/debug/rust-2048'X Error of failed request: BadWindow (invalid Window parameter)Major opcode of failed request: 4 (X_DestroyWindow)Resource id in failed request: 0x0Serial number of failed request: 166Current serial number in output stream: 167
After fixing all errors I build again, and everything seems to work but when I run:
BUILD
$ cargo build
Output :+1:Finished dev [unoptimized + debuginfo] target(s) in 0.1 secs
RUN
$ cargo run
Output :-1:Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Running 'target/debug/rust-2048'
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 4 (X_DestroyWindow)
Resource id in failed request: 0x0
Serial number of failed request: 166
Current serial number in output stream: 167
Any suggestion?
My OS is Lubuntu