[INFO] cloning repository https://github.com/Archenetwork/Solana_Reflect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Archenetwork/Solana_Reflect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArchenetwork%2FSolana_Reflect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArchenetwork%2FSolana_Reflect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c35d8e066ce7a4203abdbe5bc75a49f85eaea4a [INFO] testing Archenetwork/Solana_Reflect against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArchenetwork%2FSolana_Reflect" "/workspace/builds/worker-97/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-97/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Archenetwork/Solana_Reflect on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Archenetwork/Solana_Reflect [INFO] finished tweaking git repo https://github.com/Archenetwork/Solana_Reflect [INFO] tweaked toml for git repo https://github.com/Archenetwork/Solana_Reflect written to /workspace/builds/worker-97/source/Cargo.toml [INFO] crate git repo https://github.com/Archenetwork/Solana_Reflect already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9e50522f7f08ee1dfc7b99e75cd553a53b9a7033a61d65103e4e6820299d4d1 [INFO] running `Command { std: "docker" "start" "-a" "c9e50522f7f08ee1dfc7b99e75cd553a53b9a7033a61d65103e4e6820299d4d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9e50522f7f08ee1dfc7b99e75cd553a53b9a7033a61d65103e4e6820299d4d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9e50522f7f08ee1dfc7b99e75cd553a53b9a7033a61d65103e4e6820299d4d1", kill_on_drop: false }` [INFO] [stdout] c9e50522f7f08ee1dfc7b99e75cd553a53b9a7033a61d65103e4e6820299d4d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88be615e9ec70741bdec23feee4ec06460701f8afbaa8ab71645d82ad0773600 [INFO] running `Command { std: "docker" "start" "-a" "88be615e9ec70741bdec23feee4ec06460701f8afbaa8ab71645d82ad0773600", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling dingirsu_reflect v0.1.0 (/opt/rustwide/workdir/dingirsu_reflect) [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | if ((item=="fn" || code[index]=="fn\n" ) ) [INFO] [stdout] | ^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if ((item=="fn" || code[index]=="fn\n" ) ) [INFO] [stdout] 21 + if (item=="fn" || code[index]=="fn\n" ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if (item=="impl" && index+3< code.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - if (item=="impl" && index+3< code.len()) [INFO] [stdout] 68 + if item=="impl" && index+3< code.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | if(code[index]=="fn" || code[index]=="fn\n") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - if(code[index]=="fn" || code[index]=="fn\n") [INFO] [stdout] 93 + if code[index]=="fn" || code[index]=="fn\n" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | if (i==code.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if (i==code.len()) [INFO] [stdout] 98 + if i==code.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | if( t_str.len()>0 && !(t_str.starts_with(" ")) ) [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if( t_str.len()>0 && !(t_str.starts_with(" ")) ) [INFO] [stdout] 103 + if t_str.len()>0 && !(t_str.starts_with(" ")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | if(t_fn_name.len()>0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if(t_fn_name.len()>0) [INFO] [stdout] 106 + if t_fn_name.len()>0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let a=code.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_fn_name` [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let t_fn_name:Vec<&str>=code[index+1].split("(").collect(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_fn_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut original_code =input.to_string(); [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] --> dingirsu_reflect/src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut inject_str_mut=inject_str.as_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut t_str:&str=code[i]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Dingirsu_Reflect` should have a snake case name [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn Dingirsu_Reflect(input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dingirsu_reflect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Get_FunctionName` should have a snake case name [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn Get_FunctionName(index:usize,code:Vec<&str>)-> Option<&str> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_function_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-frozen-abi-macro v1.6.1 [INFO] [stderr] Compiling solana-frozen-abi v1.6.1 [INFO] [stderr] Compiling solana-program v1.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling borsh-derive-internal v0.8.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-logger v1.6.1 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.6.1 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.8.1 [INFO] [stderr] Compiling borsh v0.8.1 [INFO] [stderr] Compiling solana-bpf-helloworld v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] B [INFO] [stdout] A [INFO] [stdout] impl D_Processer [INFO] [stdout] { [INFO] [stdout] pub fn Reflect(name :&str)-> Option< fn(&solana_program::pubkey::Pubkey,&[solana_program::account_info::AccountInfo],&[u8])->solana_program::entrypoint::ProgramResult > [INFO] [stdout] { [INFO] [stdout] match name [INFO] [stdout] { [INFO] [stdout] "B"=>{ [INFO] [stdout] [INFO] [stdout] return Some(Self::B); [INFO] [stdout] } [INFO] [stdout] "A"=>{ [INFO] [stdout] [INFO] [stdout] return Some(Self::A); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] _=>{ [INFO] [stdout] return None; [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] pub fn [INFO] [stdout] A(program_id : & Pubkey, accounts : & [AccountInfo], _instruction_data : & [INFO] [stdout] [u8],) -> ProgramResult [INFO] [stdout] { msg! ("Reflect to function A") ; print! ("A") ; Ok(()) } pub fn [INFO] [stdout] B(program_id : & Pubkey, accounts : & [AccountInfo], _instruction_data : & [INFO] [stdout] [u8],) -> ProgramResult [INFO] [stdout] { msg! ("Reflect to function B") ; print! ("B") ; Ok(()) } [INFO] [stdout] } [INFO] [stdout] warning: unused imports: `ByteOrder`, `LittleEndian` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `next_account_info`, `program_error::ProgramError` [INFO] [stdout] --> src/lib.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Account_Sotrage` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Account_Sotrage [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountSotrage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if (s_item==None){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - if (s_item==None){ [INFO] [stdout] 47 + if s_item==None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if (*s_u==0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if (*s_u==0){ [INFO] [stdout] 52 + if *s_u==0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if (func.is_some()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - if (func.is_some()) [INFO] [stdout] 63 + if func.is_some() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `D_Processer` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct D_Processer { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DProcesser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut pid=program_id; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/lib.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut pointer :*mut u64= 0 as *mut u64; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s_item` is never read [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut s_item:Option<&u8>=None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut pid=program_id; [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/lib.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut pointer :*mut u64= 0 as *mut u64; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe{ [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Account_Sotrage` [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Account_Sotrage [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | func_u(program_id,accounts,&_instruction_data[index..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.02s [INFO] running `Command { std: "docker" "inspect" "88be615e9ec70741bdec23feee4ec06460701f8afbaa8ab71645d82ad0773600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88be615e9ec70741bdec23feee4ec06460701f8afbaa8ab71645d82ad0773600", kill_on_drop: false }` [INFO] [stdout] 88be615e9ec70741bdec23feee4ec06460701f8afbaa8ab71645d82ad0773600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cc3c7d274c53c257cc08379f9796589cd8e1c8e60cf9696ba45bffd65bb2c14 [INFO] running `Command { std: "docker" "start" "-a" "9cc3c7d274c53c257cc08379f9796589cd8e1c8e60cf9696ba45bffd65bb2c14", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling signature v1.3.0 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling zstd-safe v2.0.6+zstd.1.4.7 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling symlink v0.1.0 [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | if ((item=="fn" || code[index]=="fn\n" ) ) [INFO] [stdout] | ^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - if ((item=="fn" || code[index]=="fn\n" ) ) [INFO] [stdout] 21 + if (item=="fn" || code[index]=="fn\n" ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | if (item=="impl" && index+3< code.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - if (item=="impl" && index+3< code.len()) [INFO] [stdout] 68 + if item=="impl" && index+3< code.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | if(code[index]=="fn" || code[index]=="fn\n") [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - if(code[index]=="fn" || code[index]=="fn\n") [INFO] [stdout] 93 + if code[index]=="fn" || code[index]=="fn\n" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | if (i==code.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if (i==code.len()) [INFO] [stdout] 98 + if i==code.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | if( t_str.len()>0 && !(t_str.starts_with(" ")) ) [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if( t_str.len()>0 && !(t_str.starts_with(" ")) ) [INFO] [stdout] 103 + if t_str.len()>0 && !(t_str.starts_with(" ")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | if(t_fn_name.len()>0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if(t_fn_name.len()>0) [INFO] [stdout] 106 + if t_fn_name.len()>0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let a=code.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_fn_name` [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let t_fn_name:Vec<&str>=code[index+1].split("(").collect(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_fn_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut original_code =input.to_string(); [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] --> dingirsu_reflect/src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut inject_str_mut=inject_str.as_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut t_str:&str=code[i]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Dingirsu_Reflect` should have a snake case name [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn Dingirsu_Reflect(input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `dingirsu_reflect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Get_FunctionName` should have a snake case name [INFO] [stdout] --> dingirsu_reflect/src/lib.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn Get_FunctionName(index:usize,code:Vec<&str>)-> Option<&str> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_function_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling gethostname v0.2.1 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling dir-diff v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling solana-sdk v1.6.1 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling solana-vote-program v1.6.1 [INFO] [stderr] Compiling solana-stake-program v1.6.1 [INFO] [stderr] Compiling solana-runtime v1.6.1 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling tarpc-plugins v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling curve25519-dalek v3.0.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stdout] warning: unused imports: `ByteOrder`, `LittleEndian` [INFO] [stdout] --> src/lib.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{ByteOrder, LittleEndian}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `next_account_info`, `program_error::ProgramError` [INFO] [stdout] --> src/lib.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Account_Sotrage` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Account_Sotrage [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountSotrage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if (s_item==None){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - if (s_item==None){ [INFO] [stdout] 47 + if s_item==None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if (*s_u==0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if (*s_u==0){ [INFO] [stdout] 52 + if *s_u==0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if (func.is_some()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - if (func.is_some()) [INFO] [stdout] 63 + if func.is_some() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `D_Processer` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct D_Processer { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DProcesser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut pid=program_id; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointer` [INFO] [stdout] --> src/lib.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut pointer :*mut u64= 0 as *mut u64; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `s_item` is never read [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut s_item:Option<&u8>=None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut pid=program_id; [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/lib.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut pointer :*mut u64= 0 as *mut u64; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe{ [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Account_Sotrage` [INFO] [stdout] --> src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Account_Sotrage [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | func_u(program_id,accounts,&_instruction_data[index..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling solana-rayon-threadlimit v1.6.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling ed25519 v1.0.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling tar v0.4.33 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling ouroboros_macro v0.5.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] error: could not compile `object` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name object --edition=2018 /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/object-0.23.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="archive"' --cfg 'feature="coff"' --cfg 'feature="elf"' --cfg 'feature="macho"' --cfg 'feature="pe"' --cfg 'feature="read_core"' --cfg 'feature="unaligned"' -C metadata=22e3b70a591374ca -C extra-filename=-22e3b70a591374ca --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9cc3c7d274c53c257cc08379f9796589cd8e1c8e60cf9696ba45bffd65bb2c14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cc3c7d274c53c257cc08379f9796589cd8e1c8e60cf9696ba45bffd65bb2c14", kill_on_drop: false }` [INFO] [stdout] 9cc3c7d274c53c257cc08379f9796589cd8e1c8e60cf9696ba45bffd65bb2c14