[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#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArchenetwork%2FSolana_Reflect" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Archenetwork/Solana_Reflect on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-0/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e69a007fbf302b026fe47946709e5c561733087960430333ec43b45849b0a2df [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" "e69a007fbf302b026fe47946709e5c561733087960430333ec43b45849b0a2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e69a007fbf302b026fe47946709e5c561733087960430333ec43b45849b0a2df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69a007fbf302b026fe47946709e5c561733087960430333ec43b45849b0a2df", kill_on_drop: false }` [INFO] [stdout] e69a007fbf302b026fe47946709e5c561733087960430333ec43b45849b0a2df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 050a8f4e848d8081cd66cb09dbb7bccb47d5cafd83c312af01be03c249005cfe [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" "050a8f4e848d8081cd66cb09dbb7bccb47d5cafd83c312af01be03c249005cfe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling once_cell v1.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling dingirsu_reflect v0.1.0 (/opt/rustwide/workdir/dingirsu_reflect) [INFO] [stderr] Compiling generic-array v0.14.4 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lazy_static v1.4.0 [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 itertools 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] [stderr] Compiling regex v1.4.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 quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling solana-logger v1.6.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [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 serde_derive v1.0.123 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [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 bincode v1.3.2 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.9.3 [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] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [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 1m 12s [INFO] running `Command { std: "docker" "inspect" "050a8f4e848d8081cd66cb09dbb7bccb47d5cafd83c312af01be03c249005cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "050a8f4e848d8081cd66cb09dbb7bccb47d5cafd83c312af01be03c249005cfe", kill_on_drop: false }` [INFO] [stdout] 050a8f4e848d8081cd66cb09dbb7bccb47d5cafd83c312af01be03c249005cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3272498456e2f6c2e179642ea5cd9f0dabf553c661c54e4a9641160ee01f328d [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" "3272498456e2f6c2e179642ea5cd9f0dabf553c661c54e4a9641160ee01f328d", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io 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 try-lock v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling signature v1.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [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 num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling dir-diff v0.3.2 [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 socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling gethostname v0.2.1 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling solana-sdk v1.6.1 [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 indexmap v1.6.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling solana-rayon-threadlimit v1.6.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tar v0.4.33 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling tokio-macros v1.1.0 [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 tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling zstd-sys v1.4.18+zstd.1.4.7 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ed25519 v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling ouroboros_macro v0.5.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling goblin v0.3.4 [INFO] [stderr] Compiling curve25519-dalek v3.0.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling enum-ordinalize v3.1.9 [INFO] [stderr] Compiling chrono-humanize v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] error: could not compile `libsecp256k1` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name secp256k1 --edition=2018 /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libsecp256k1-0.3.5/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="default"' --cfg 'feature="hmac"' --cfg 'feature="hmac-drbg"' --cfg 'feature="sha2"' --cfg 'feature="std"' --cfg 'feature="typenum"' -C metadata=667b74b3c2c5d347 -C extra-filename=-667b74b3c2c5d347 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern arrayref=/opt/rustwide/target/debug/deps/libarrayref-68037fb36c5f5b51.rmeta --extern crunchy=/opt/rustwide/target/debug/deps/libcrunchy-474ac405b1be29f8.rmeta --extern digest=/opt/rustwide/target/debug/deps/libdigest-7e0de8721e682e49.rmeta --extern hmac_drbg=/opt/rustwide/target/debug/deps/libhmac_drbg-a34e2ebe6fab3c71.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-6d842454d5074cc7.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-cbfceb165d5252db.rmeta --extern subtle=/opt/rustwide/target/debug/deps/libsubtle-475006bf978f88b7.rmeta --extern typenum=/opt/rustwide/target/debug/deps/libtypenum-6d828ce14ff0d095.rmeta --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" "3272498456e2f6c2e179642ea5cd9f0dabf553c661c54e4a9641160ee01f328d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3272498456e2f6c2e179642ea5cd9f0dabf553c661c54e4a9641160ee01f328d", kill_on_drop: false }` [INFO] [stdout] 3272498456e2f6c2e179642ea5cd9f0dabf553c661c54e4a9641160ee01f328d