[INFO] cloning repository https://github.com/gusjengis/Script_Gen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gusjengis/Script_Gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgusjengis%2FScript_Gen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgusjengis%2FScript_Gen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc6932f96d90d2b5be391564f6479f87751c8a36 [INFO] checking gusjengis/Script_Gen against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgusjengis%2FScript_Gen" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gusjengis/Script_Gen [INFO] finished tweaking git repo https://github.com/gusjengis/Script_Gen [INFO] tweaked toml for git repo https://github.com/gusjengis/Script_Gen written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gusjengis/Script_Gen on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gusjengis/Script_Gen already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b528b9e2e5107b38af35853374ba279c9b38fff309a74975a580d3b5ab0060f [INFO] running `Command { std: "docker" "start" "-a" "4b528b9e2e5107b38af35853374ba279c9b38fff309a74975a580d3b5ab0060f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b528b9e2e5107b38af35853374ba279c9b38fff309a74975a580d3b5ab0060f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b528b9e2e5107b38af35853374ba279c9b38fff309a74975a580d3b5ab0060f", kill_on_drop: false }` [INFO] [stdout] 4b528b9e2e5107b38af35853374ba279c9b38fff309a74975a580d3b5ab0060f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6bcac6b71f6381b006686a04d8909364d6251e7317ce4b85369cadf6b65170a [INFO] running `Command { std: "docker" "start" "-a" "a6bcac6b71f6381b006686a04d8909364d6251e7317ce4b85369cadf6b65170a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking versions v5.0.1 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking native-dialog v0.7.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking script_gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::*` [INFO] [stdout] --> scripts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::RangeInclusive` [INFO] [stdout] --> scripts.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::RangeInclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> scripts.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | (self.actions[i].parameters[0].as_i32() - 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - (self.actions[i].parameters[0].as_i32() - 1), [INFO] [stdout] 136 + self.actions[i].parameters[0].as_i32() - 1 , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Set_Properties` should have an upper camel case name [INFO] [stdout] --> scripts.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | Set_Properties, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetProperties` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call_Script` should have an upper camel case name [INFO] [stdout] --> scripts.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | Call_Script, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallScript` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Export_Screenshot` should have an upper camel case name [INFO] [stdout] --> scripts.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | Export_Screenshot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExportScreenshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Set_Physics` should have an upper camel case name [INFO] [stdout] --> scripts.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | Set_Physics, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetPhysics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Set_Bonds` should have an upper camel case name [INFO] [stdout] --> scripts.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | Set_Bonds, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SetBonds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Set_Material` should have an upper camel case name [INFO] [stdout] --> scripts.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | Set_Material, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetMaterial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::*` [INFO] [stdout] --> scripts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::RangeInclusive` [INFO] [stdout] --> scripts.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::RangeInclusive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> scripts.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | (self.actions[i].parameters[0].as_i32() - 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - (self.actions[i].parameters[0].as_i32() - 1), [INFO] [stdout] 136 + self.actions[i].parameters[0].as_i32() - 1 , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Set_Properties` should have an upper camel case name [INFO] [stdout] --> scripts.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | Set_Properties, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetProperties` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Call_Script` should have an upper camel case name [INFO] [stdout] --> scripts.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | Call_Script, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallScript` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Export_Screenshot` should have an upper camel case name [INFO] [stdout] --> scripts.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | Export_Screenshot, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ExportScreenshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Set_Physics` should have an upper camel case name [INFO] [stdout] --> scripts.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | Set_Physics, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetPhysics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Set_Bonds` should have an upper camel case name [INFO] [stdout] --> scripts.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | Set_Bonds, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SetBonds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Set_Material` should have an upper camel case name [INFO] [stdout] --> scripts.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | Set_Material, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetMaterial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_script`, `delete_script`, and `push_action` are never used [INFO] [stdout] --> scripts.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ScriptManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn push_script(&mut self, script: Script) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn delete_script(&mut self, script_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn push_action(&mut self, script_index: usize, action: Action) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_json`, `to_string`, and `delete_action` are never used [INFO] [stdout] --> scripts.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Script { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn delete_action(&mut self, action_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> scripts.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Action { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `keycode` and `set_key` are never used [INFO] [stdout] --> scripts.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl Trigger { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 328 | pub fn keycode(&self) -> Key { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn set_key(&mut self, key: Key) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> scripts.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 368 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 369 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> scripts.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 402 | impl Parameter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 403 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | fn truthy(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | fn as_f32(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | fn as_i32(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | fn as_i32_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn set_list(&mut self, list: Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | fn as_i32_ref(&mut self) -> Option<&mut i32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | fn as_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | name: String::from_str(name).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:371:30 [INFO] [stdout] | [INFO] [stdout] 371 | Command::None => String::from_str("None").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:372:30 [INFO] [stdout] | [INFO] [stdout] 372 | Command::Wait => String::from_str("Wait").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:373:35 [INFO] [stdout] | [INFO] [stdout] 373 | Command::SelectAll => String::from_str("Select All").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:374:40 [INFO] [stdout] | [INFO] [stdout] 374 | Command::Set_Properties => String::from_str("Set Properties").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:375:30 [INFO] [stdout] | [INFO] [stdout] 375 | Command::Goto => String::from_str("Goto").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:376:32 [INFO] [stdout] | [INFO] [stdout] 376 | Command::Select => String::from_str("Select").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:377:34 [INFO] [stdout] | [INFO] [stdout] 377 | Command::Simulate => String::from_str("Simulate").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:378:32 [INFO] [stdout] | [INFO] [stdout] 378 | Command::Backup => String::from_str("Backup").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:379:33 [INFO] [stdout] | [INFO] [stdout] 379 | Command::Restore => String::from_str("Restore").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | Command::Call_Script => String::from_str("Call Script").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 381 | Command::Advance => String::from_str("Advance").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:382:32 [INFO] [stdout] | [INFO] [stdout] 382 | Command::Export => String::from_str("Export").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:383:43 [INFO] [stdout] | [INFO] [stdout] 383 | Command::Export_Screenshot => String::from_str("Export Screenshot").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | Command::Record => String::from_str("Record").unwrap(), // Command::Load_File => { String::from_str("Load File").unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:385:37 [INFO] [stdout] | [INFO] [stdout] 385 | ... Command::Set_Physics => String::from_str("Set Physics").unwrap(), // Command::Load_File => { String::from_str("Load File").unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:386:35 [INFO] [stdout] | [INFO] [stdout] 386 | ... Command::Set_Bonds => String::from_str("Set Bonds").unwrap(), // Command::Load_File => { String::from_str("Load File").unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:387:38 [INFO] [stdout] | [INFO] [stdout] 387 | ... Command::Set_Material => String::from_str("Set Material").unwrap(), // Command::Load_File => { String::from_str("Load File").unwrap... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_script`, `delete_script`, and `push_action` are never used [INFO] [stdout] --> scripts.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ScriptManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn push_script(&mut self, script: Script) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn delete_script(&mut self, script_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn push_action(&mut self, script_index: usize, action: Action) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_json`, `to_string`, and `delete_action` are never used [INFO] [stdout] --> scripts.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Script { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn delete_action(&mut self, action_index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> scripts.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl Action { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `keycode` and `set_key` are never used [INFO] [stdout] --> scripts.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl Trigger { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 328 | pub fn keycode(&self) -> Key { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn set_key(&mut self, key: Key) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> scripts.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 368 | impl Command { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 369 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> scripts.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 402 | impl Parameter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 403 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | fn truthy(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | fn as_f32(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | fn as_i32(&self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | fn as_i32_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 479 | fn set_list(&mut self, list: Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 491 | fn as_i32_ref(&mut self) -> Option<&mut i32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | fn as_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `script_gen` (bin "script_gen" test) due to 18 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | name: String::from_str(name).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:371:30 [INFO] [stdout] | [INFO] [stdout] 371 | Command::None => String::from_str("None").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:372:30 [INFO] [stdout] | [INFO] [stdout] 372 | Command::Wait => String::from_str("Wait").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:373:35 [INFO] [stdout] | [INFO] [stdout] 373 | Command::SelectAll => String::from_str("Select All").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:374:40 [INFO] [stdout] | [INFO] [stdout] 374 | Command::Set_Properties => String::from_str("Set Properties").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:375:30 [INFO] [stdout] | [INFO] [stdout] 375 | Command::Goto => String::from_str("Goto").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:376:32 [INFO] [stdout] | [INFO] [stdout] 376 | Command::Select => String::from_str("Select").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:377:34 [INFO] [stdout] | [INFO] [stdout] 377 | Command::Simulate => String::from_str("Simulate").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:378:32 [INFO] [stdout] | [INFO] [stdout] 378 | Command::Backup => String::from_str("Backup").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:379:33 [INFO] [stdout] | [INFO] [stdout] 379 | Command::Restore => String::from_str("Restore").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | Command::Call_Script => String::from_str("Call Script").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:381:33 [INFO] [stdout] | [INFO] [stdout] 381 | Command::Advance => String::from_str("Advance").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:382:32 [INFO] [stdout] | [INFO] [stdout] 382 | Command::Export => String::from_str("Export").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:383:43 [INFO] [stdout] | [INFO] [stdout] 383 | Command::Export_Screenshot => String::from_str("Export Screenshot").unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:384:32 [INFO] [stdout] | [INFO] [stdout] 384 | Command::Record => String::from_str("Record").unwrap(), // Command::Load_File => { String::from_str("Load File").unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:385:37 [INFO] [stdout] | [INFO] [stdout] 385 | ... Command::Set_Physics => String::from_str("Set Physics").unwrap(), // Command::Load_File => { String::from_str("Load File").unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:386:35 [INFO] [stdout] | [INFO] [stdout] 386 | ... Command::Set_Bonds => String::from_str("Set Bonds").unwrap(), // Command::Load_File => { String::from_str("Load File").unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> scripts.rs:387:38 [INFO] [stdout] | [INFO] [stdout] 387 | ... Command::Set_Material => String::from_str("Set Material").unwrap(), // Command::Load_File => { String::from_str("Load File").unwrap... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `script_gen` (bin "script_gen") due to 18 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a6bcac6b71f6381b006686a04d8909364d6251e7317ce4b85369cadf6b65170a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6bcac6b71f6381b006686a04d8909364d6251e7317ce4b85369cadf6b65170a", kill_on_drop: false }` [INFO] [stdout] a6bcac6b71f6381b006686a04d8909364d6251e7317ce4b85369cadf6b65170a