[INFO] cloning repository https://github.com/AntKazakovv/kuev-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AntKazakovv/kuev-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntKazakovv%2Fkuev-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntKazakovv%2Fkuev-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 770fc06bc8be08020cc2ced5a4fec79366e0c9cb [INFO] checking AntKazakovv/kuev-emu against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntKazakovv%2Fkuev-emu" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 35% (311/867) Checking out files: 36% (313/867) Checking out files: 37% (321/867) Checking out files: 38% (330/867) Checking out files: 39% (339/867) Checking out files: 40% (347/867) Checking out files: 41% (356/867) Checking out files: 42% (365/867) Checking out files: 43% (373/867) Checking out files: 44% (382/867) Checking out files: 45% (391/867) Checking out files: 46% (399/867) Checking out files: 47% (408/867) Checking out files: 48% (417/867) Checking out files: 49% (425/867) Checking out files: 50% (434/867) Checking out files: 51% (443/867) Checking out files: 52% (451/867) Checking out files: 52% (455/867) Checking out files: 53% (460/867) Checking out files: 54% (469/867) Checking out files: 55% (477/867) Checking out files: 56% (486/867) Checking out files: 57% (495/867) Checking out files: 58% (503/867) Checking out files: 59% (512/867) Checking out files: 60% (521/867) Checking out files: 61% (529/867) Checking out files: 62% (538/867) Checking out files: 63% (547/867) Checking out files: 64% (555/867) Checking out files: 65% (564/867) Checking out files: 66% (573/867) Checking out files: 67% (581/867) Checking out files: 68% (590/867) Checking out files: 69% (599/867) Checking out files: 70% (607/867) Checking out files: 71% (616/867) Checking out files: 72% (625/867) Checking out files: 73% (633/867) Checking out files: 74% (642/867) Checking out files: 75% (651/867) Checking out files: 76% (659/867) Checking out files: 77% (668/867) Checking out files: 78% (677/867) Checking out files: 79% (685/867) Checking out files: 80% (694/867) Checking out files: 81% (703/867) Checking out files: 82% (711/867) Checking out files: 83% (720/867) Checking out files: 84% (729/867) Checking out files: 85% (737/867) Checking out files: 86% (746/867) Checking out files: 87% (755/867) Checking out files: 88% (763/867) Checking out files: 89% (772/867) Checking out files: 90% (781/867) Checking out files: 91% (789/867) Checking out files: 92% (798/867) Checking out files: 93% (807/867) Checking out files: 94% (815/867) Checking out files: 95% (824/867) Checking out files: 96% (833/867) Checking out files: 97% (841/867) Checking out files: 98% (850/867) Checking out files: 99% (859/867) Checking out files: 100% (867/867) Checking out files: 100% (867/867), done. [INFO] validating manifest of git repo https://github.com/AntKazakovv/kuev-emu on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AntKazakovv/kuev-emu [INFO] finished tweaking git repo https://github.com/AntKazakovv/kuev-emu [INFO] tweaked toml for git repo https://github.com/AntKazakovv/kuev-emu written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/AntKazakovv/kuev-emu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vcpkg v0.2.9 [INFO] [stderr] Downloaded serde-xml-rs v0.3.1 [INFO] [stderr] Downloaded ctrlc v3.1.4 [INFO] [stderr] Downloaded syn v1.0.25 [INFO] [stderr] Downloaded rusqlite v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb680a1e209115fb6f46708e85d288bbc1dec9a034bca8042827555357e83462 [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" "eb680a1e209115fb6f46708e85d288bbc1dec9a034bca8042827555357e83462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb680a1e209115fb6f46708e85d288bbc1dec9a034bca8042827555357e83462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb680a1e209115fb6f46708e85d288bbc1dec9a034bca8042827555357e83462", kill_on_drop: false }` [INFO] [stdout] eb680a1e209115fb6f46708e85d288bbc1dec9a034bca8042827555357e83462 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0da1570c40f1e6819f6f1cb5278268028795ab76e776f4b1faf029146f6d807a [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" "0da1570c40f1e6819f6f1cb5278268028795ab76e776f4b1faf029146f6d807a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.25 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking addr2line v0.12.1 [INFO] [stderr] Checking backtrace v0.3.48 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking serde-xml-rs v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking ctrlc v3.1.4 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Checking kuev-emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::marker::Copy` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::option::Option` [INFO] [stdout] --> src/xml_tools.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_xml_rs::*` [INFO] [stdout] --> src/xml_tools.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_xml_rs::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/xml_tools.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::Copy` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::option::Option` [INFO] [stdout] --> src/xml_tools.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_xml_rs::*` [INFO] [stdout] --> src/xml_tools.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_xml_rs::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Valaue_str` should have an upper camel case name [INFO] [stdout] --> src/xml_tools.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Valaue_str(String), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ValaueStr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/xml_tools.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Value_int` should have an upper camel case name [INFO] [stdout] --> src/xml_tools.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Value_int(i64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ValueInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Value_float` should have an upper camel case name [INFO] [stdout] --> src/xml_tools.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | Value_float(u32), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ValueFloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Valaue_str` should have an upper camel case name [INFO] [stdout] --> src/xml_tools.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Valaue_str(String), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ValaueStr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Value_int` should have an upper camel case name [INFO] [stdout] --> src/xml_tools.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Value_int(i64), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ValueInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Value_float` should have an upper camel case name [INFO] [stdout] --> src/xml_tools.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | Value_float(u32), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ValueFloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `broadcast_addr` [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let broadcast_addr = "10.7.255.255:19000".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let mut buffer = vec![0u8; 1000]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infoPackage_clone` [INFO] [stdout] --> src/main.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let infoPackage_clone = infoPackage.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infoPackage_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_result` [INFO] [stdout] --> src/db_tools.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | ... let query_result = conn.execute("INSERT INTO params (varname, frname, kmr, mr, signal, typemr, value) values (?1, ?2, ?3, ?4, ?5, ?... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/db_tools.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn init_data(info: &Vec, val: &Vec, conn: &Connection) -> rusqlite::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `server` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 179 | fn startInfoListener(receiver: Receiver, sender: Sender, server: ServerUdp) -> std::io::Result<()> { [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut server` [INFO] [stdout] ... [INFO] [stdout] 194 | server.send_broadcast("info".to_string()); [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let mut buffer = vec![0u8; 1000]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let mut list_state_items = maplinked.initDevice(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let server_udp_inctance = ServerBuilder::new("10.7.2.2:5555".to_owned()) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _______________________________creates a temporary which is freed while still in use [INFO] [stdout] | | [INFO] [stdout] 368 | | .getInfoPackage(infoPackage) [INFO] [stdout] | |____________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 371 | .finalize(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `broadcast_addr` [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | let broadcast_addr = "10.7.255.255:19000".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_broadcast_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let mut buffer = vec![0u8; 1000]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infoPackage_clone` [INFO] [stdout] --> src/main.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let infoPackage_clone = infoPackage.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infoPackage_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query_result` [INFO] [stdout] --> src/db_tools.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | ... let query_result = conn.execute("INSERT INTO params (varname, frname, kmr, mr, signal, typemr, value) values (?1, ?2, ?3, ?4, ?5, ?... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_query_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/db_tools.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn init_data(info: &Vec, val: &Vec, conn: &Connection) -> rusqlite::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xml_tools.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut stateItem = StateItems { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `server` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/main.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 179 | fn startInfoListener(receiver: Receiver, sender: Sender, server: ServerUdp) -> std::io::Result<()> { [INFO] [stdout] | ------ help: consider changing this to be mutable: `mut server` [INFO] [stdout] ... [INFO] [stdout] 194 | server.send_broadcast("info".to_string()); [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let mut buffer = vec![0u8; 1000]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | let mut list_state_items = maplinked.initDevice(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kuev-emu` [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[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | let server_udp_inctance = ServerBuilder::new("10.7.2.2:5555".to_owned()) [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _______________________________creates a temporary which is freed while still in use [INFO] [stdout] | | [INFO] [stdout] 368 | | .getInfoPackage(infoPackage) [INFO] [stdout] | |____________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 371 | .finalize(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xml_tools.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut stateItem = StateItems { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0da1570c40f1e6819f6f1cb5278268028795ab76e776f4b1faf029146f6d807a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da1570c40f1e6819f6f1cb5278268028795ab76e776f4b1faf029146f6d807a", kill_on_drop: false }` [INFO] [stdout] 0da1570c40f1e6819f6f1cb5278268028795ab76e776f4b1faf029146f6d807a