[INFO] cloning repository https://github.com/dDostalker/Re_shellcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dDostalker/Re_shellcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdDostalker%2FRe_shellcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdDostalker%2FRe_shellcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bd0b209a6c7a6ddd77bbba1de552a6705576b24 [INFO] building dDostalker/Re_shellcode against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdDostalker%2FRe_shellcode" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dDostalker/Re_shellcode on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dDostalker/Re_shellcode [INFO] finished tweaking git repo https://github.com/dDostalker/Re_shellcode [INFO] tweaked toml for git repo https://github.com/dDostalker/Re_shellcode written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dDostalker/Re_shellcode 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicorn-engine v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaa0d7e906bdcc4922cbd18d9788540c7d154828363335b06f782c76d439ddbc [INFO] running `Command { std: "docker" "start" "-a" "aaa0d7e906bdcc4922cbd18d9788540c7d154828363335b06f782c76d439ddbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaa0d7e906bdcc4922cbd18d9788540c7d154828363335b06f782c76d439ddbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa0d7e906bdcc4922cbd18d9788540c7d154828363335b06f782c76d439ddbc", kill_on_drop: false }` [INFO] [stdout] aaa0d7e906bdcc4922cbd18d9788540c7d154828363335b06f782c76d439ddbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dde335c8f19218bf548ebb564322d07f9f3ddb44640064921d5cc23e4a6b3a44 [INFO] running `Command { std: "docker" "start" "-a" "dde335c8f19218bf548ebb564322d07f9f3ddb44640064921d5cc23e4a6b3a44", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling capstone-sys v0.16.0 [INFO] [stderr] Compiling unicorn-engine v2.1.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling capstone v0.12.0 [INFO] [stderr] Compiling Re_shellcode v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/sys_call.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_3_read.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// 全局管道符 [INFO] [stdout] | ^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `RefMut`, and `Ref` [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::System` [INFO] [stdout] --> src/Re_shell_core/match_args.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::alloc::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `x86` should have an upper camel case name [INFO] [stdout] --> src/Re_shell_core/match_args.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | x86, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `X86` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `x64` should have an upper camel case name [INFO] [stdout] --> src/Re_shell_core/match_args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | x64, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `X64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> src/sys_call/sys_call_linux_64/_41_sys_socket.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let protocol = fun.reg_read(RDI)?; //具体协议 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rdi` [INFO] [stdout] --> src/sys_call/sys_call_linux_64/_42_sys_connect.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let rdi = fun.reg_read(RDI)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/Re_shell_core/match_shellcodes.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let shellcode = match_big.captures(&shellcode).unwrap()[0].to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/Re_shell_core/match_shellcodes.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let shellcode = match_mid.captures(&shellcode).unwrap()[0].to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/Re_shell_core/match_shellcodes.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let shellcode = match_little.captures(&shellcode).unwrap()[0].to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restart_syscall` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_0_restart_syscall.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn restart_syscall() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_CLOSE` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | pub const SYS_CLOSE: u64 = 16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SEND` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const SYS_SEND: u64 = 9; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_RECV` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const SYS_RECV: u64 = 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SENDMSG` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub const SYS_SENDMSG: u64 = 11; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_RECVMSG` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub const SYS_RECVMSG: u64 = 12; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SENDTO` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const SYS_SENDTO: u64 = 13; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_GETPEERNAME` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | pub const SYS_GETPEERNAME: u64 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SOCKETPAIR` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub const SYS_SOCKETPAIR: u64 = 17; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_GETSOCKOPT` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub const SYS_GETSOCKOPT: u64 = 19; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_RECVFROM` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub const SYS_RECVFROM: u64 = 18; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SHUTDOWN` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub const SYS_SHUTDOWN: u64 = 22; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Re_shellcode` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `re_shellcode` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Re_shell_core` should have a snake case name [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Re_shell_core; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `re_shell_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys_call.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | syscall(fun); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = syscall(fun); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys_call.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | syscall(fun); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = syscall(fun); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_140__llseek` should have a snake case name [INFO] [stdout] --> src/sys_call/sys_call_linux_32.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | mod _140__llseek; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_140_llseek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_142__newselect` should have a snake case name [INFO] [stdout] --> src/sys_call/sys_call_linux_32.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | mod _142__newselect; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_142_newselect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_149__sysctl` should have a snake case name [INFO] [stdout] --> src/sys_call/sys_call_linux_32.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | mod _149__sysctl; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_149_sysctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn borrow_mut(&self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn borrow(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn borrow(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn borrow_mut(&self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "dde335c8f19218bf548ebb564322d07f9f3ddb44640064921d5cc23e4a6b3a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dde335c8f19218bf548ebb564322d07f9f3ddb44640064921d5cc23e4a6b3a44", kill_on_drop: false }` [INFO] [stdout] dde335c8f19218bf548ebb564322d07f9f3ddb44640064921d5cc23e4a6b3a44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2299f1575ea1a103510fb182ee65bbc4a870ae2065e84637bfe4dc00c0e5ddf7 [INFO] running `Command { std: "docker" "start" "-a" "2299f1575ea1a103510fb182ee65bbc4a870ae2065e84637bfe4dc00c0e5ddf7", kill_on_drop: false }` [INFO] [stderr] Compiling Re_shellcode v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/sys_call.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_3_read.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// 全局管道符 [INFO] [stdout] | ^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `RefMut`, and `Ref` [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::System` [INFO] [stdout] --> src/Re_shell_core/match_args.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::alloc::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `x86` should have an upper camel case name [INFO] [stdout] --> src/Re_shell_core/match_args.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | x86, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `X86` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `x64` should have an upper camel case name [INFO] [stdout] --> src/Re_shell_core/match_args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | x64, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `X64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> src/sys_call/sys_call_linux_64/_41_sys_socket.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let protocol = fun.reg_read(RDI)?; //具体协议 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rdi` [INFO] [stdout] --> src/sys_call/sys_call_linux_64/_42_sys_connect.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let rdi = fun.reg_read(RDI)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/Re_shell_core/match_shellcodes.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let shellcode = match_big.captures(&shellcode).unwrap()[0].to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/Re_shell_core/match_shellcodes.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let shellcode = match_mid.captures(&shellcode).unwrap()[0].to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/Re_shell_core/match_shellcodes.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let shellcode = match_little.captures(&shellcode).unwrap()[0].to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restart_syscall` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_0_restart_syscall.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn restart_syscall() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_CLOSE` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | pub const SYS_CLOSE: u64 = 16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SEND` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const SYS_SEND: u64 = 9; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_RECV` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const SYS_RECV: u64 = 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SENDMSG` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub const SYS_SENDMSG: u64 = 11; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_RECVMSG` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub const SYS_RECVMSG: u64 = 12; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SENDTO` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const SYS_SENDTO: u64 = 13; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_GETPEERNAME` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | pub const SYS_GETPEERNAME: u64 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SOCKETPAIR` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub const SYS_SOCKETPAIR: u64 = 17; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_GETSOCKOPT` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub const SYS_GETSOCKOPT: u64 = 19; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_RECVFROM` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub const SYS_RECVFROM: u64 = 18; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SHUTDOWN` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub const SYS_SHUTDOWN: u64 = 22; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Re_shellcode` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `re_shellcode` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Re_shell_core` should have a snake case name [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Re_shell_core; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `re_shell_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys_call.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | syscall(fun); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = syscall(fun); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys_call.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | syscall(fun); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = syscall(fun); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_140__llseek` should have a snake case name [INFO] [stdout] --> src/sys_call/sys_call_linux_32.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | mod _140__llseek; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_140_llseek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_142__newselect` should have a snake case name [INFO] [stdout] --> src/sys_call/sys_call_linux_32.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | mod _142__newselect; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_142_newselect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_149__sysctl` should have a snake case name [INFO] [stdout] --> src/sys_call/sys_call_linux_32.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | mod _149__sysctl; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_149_sysctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn borrow_mut(&self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn borrow(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn borrow(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn borrow_mut(&self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/sys_call.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_3_read.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// 全局管道符 [INFO] [stdout] | ^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `RefMut`, and `Ref` [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::System` [INFO] [stdout] --> src/Re_shell_core/match_args.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::alloc::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `x86` should have an upper camel case name [INFO] [stdout] --> src/Re_shell_core/match_args.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | x86, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `X86` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `x64` should have an upper camel case name [INFO] [stdout] --> src/Re_shell_core/match_args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | x64, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `X64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `protocol` [INFO] [stdout] --> src/sys_call/sys_call_linux_64/_41_sys_socket.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let protocol = fun.reg_read(RDI)?; //具体协议 [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rdi` [INFO] [stdout] --> src/sys_call/sys_call_linux_64/_42_sys_connect.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let rdi = fun.reg_read(RDI)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rdi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/Re_shell_core/match_shellcodes.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let shellcode = match_big.captures(&shellcode).unwrap()[0].to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/Re_shell_core/match_shellcodes.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let shellcode = match_mid.captures(&shellcode).unwrap()[0].to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/Re_shell_core/match_shellcodes.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let shellcode = match_little.captures(&shellcode).unwrap()[0].to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `restart_syscall` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_0_restart_syscall.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn restart_syscall() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_CLOSE` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | pub const SYS_CLOSE: u64 = 16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SEND` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | pub const SYS_SEND: u64 = 9; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_RECV` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub const SYS_RECV: u64 = 10; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SENDMSG` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub const SYS_SENDMSG: u64 = 11; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_RECVMSG` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | pub const SYS_RECVMSG: u64 = 12; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SENDTO` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pub const SYS_SENDTO: u64 = 13; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_GETPEERNAME` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | pub const SYS_GETPEERNAME: u64 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SOCKETPAIR` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | pub const SYS_SOCKETPAIR: u64 = 17; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_GETSOCKOPT` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub const SYS_GETSOCKOPT: u64 = 19; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_RECVFROM` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub const SYS_RECVFROM: u64 = 18; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYS_SHUTDOWN` is never used [INFO] [stdout] --> src/sys_call/sys_call_linux_32/_102_socketcall.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | pub const SYS_SHUTDOWN: u64 = 22; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Re_shell_core` should have a snake case name [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Re_shell_core; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `re_shell_core` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys_call.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | syscall(fun); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = syscall(fun); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sys_call.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | syscall(fun); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = syscall(fun); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_140__llseek` should have a snake case name [INFO] [stdout] --> src/sys_call/sys_call_linux_32.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | mod _140__llseek; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_140_llseek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_142__newselect` should have a snake case name [INFO] [stdout] --> src/sys_call/sys_call_linux_32.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | mod _142__newselect; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_142_newselect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `_149__sysctl` should have a snake case name [INFO] [stdout] --> src/sys_call/sys_call_linux_32.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | mod _149__sysctl; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_149_sysctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn borrow_mut(&self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn borrow(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 48 | pub fn borrow(&self) -> Ref<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/Re_shell_core/linux_system_frame.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn borrow_mut(&self) -> RefMut<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "2299f1575ea1a103510fb182ee65bbc4a870ae2065e84637bfe4dc00c0e5ddf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2299f1575ea1a103510fb182ee65bbc4a870ae2065e84637bfe4dc00c0e5ddf7", kill_on_drop: false }` [INFO] [stdout] 2299f1575ea1a103510fb182ee65bbc4a870ae2065e84637bfe4dc00c0e5ddf7