[INFO] cloning repository https://github.com/ismail0ka/shellforge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ismail0ka/shellforge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fismail0ka%2Fshellforge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fismail0ka%2Fshellforge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 570654c7faa2a467ae716c8b7fba1fbe32176498 [INFO] checking ismail0ka/shellforge against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fismail0ka%2Fshellforge" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ismail0ka/shellforge on toolchain b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ismail0ka/shellforge [INFO] finished tweaking git repo https://github.com/ismail0ka/shellforge [INFO] tweaked toml for git repo https://github.com/ismail0ka/shellforge written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ismail0ka/shellforge 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" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c69cac357d3b94b036298eb0c50d2e363a1fa263a8292ee22ad7a92404179614 [INFO] running `Command { std: "docker" "start" "-a" "c69cac357d3b94b036298eb0c50d2e363a1fa263a8292ee22ad7a92404179614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c69cac357d3b94b036298eb0c50d2e363a1fa263a8292ee22ad7a92404179614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69cac357d3b94b036298eb0c50d2e363a1fa263a8292ee22ad7a92404179614", kill_on_drop: false }` [INFO] [stdout] c69cac357d3b94b036298eb0c50d2e363a1fa263a8292ee22ad7a92404179614 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e1084988ddb2361f38d9293188893d4385c68aed845d1e99b5303edf16a6750 [INFO] running `Command { std: "docker" "start" "-a" "1e1084988ddb2361f38d9293188893d4385c68aed845d1e99b5303edf16a6750", kill_on_drop: false }` [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking shellforge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `resolve_syscall` in module `x86` [INFO] [stdout] --> src/syscall.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | shellcode = format!("{}{}", shellcode, x86::resolve_syscall(shellcode_params)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `x86` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `resolve_syscall` in module `x64` [INFO] [stdout] --> src/syscall.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | shellcode = format!("{}{}", shellcode, x64::resolve_syscall(shellcode_params)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `x64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `resolve_syscall` in module `arm` [INFO] [stdout] --> src/syscall.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | shellcode = format!("{}{}", shellcode, arm::resolve_syscall(shellcode_params)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `arm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `resolve_syscall` in module `x86` [INFO] [stdout] --> src/syscall.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | shellcode = format!("{}{}", shellcode, x86::resolve_syscall(shellcode_params)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `x86` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `resolve_syscall` in module `x64` [INFO] [stdout] --> src/syscall.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | shellcode = format!("{}{}", shellcode, x64::resolve_syscall(shellcode_params)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `x64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `resolve_syscall` in module `arm` [INFO] [stdout] --> src/syscall.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | shellcode = format!("{}{}", shellcode, arm::resolve_syscall(shellcode_params)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `arm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `x86` should have an upper camel case name [INFO] [stdout] --> src/syscall/x86.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct 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: type `x64` should have an upper camel case name [INFO] [stdout] --> src/syscall/x64.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct x64; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `X64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arm` should have an upper camel case name [INFO] [stdout] --> src/syscall/arm.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct arm; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Arm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/syscall.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | if (shellcode_params.arch == "x86") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - if (shellcode_params.arch == "x86") { [INFO] [stdout] 15 + if shellcode_params.arch == "x86" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/syscall.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | else if (shellcode_params.arch == "x64") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - else if (shellcode_params.arch == "x64") { [INFO] [stdout] 18 + else if shellcode_params.arch == "x64" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/syscall.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | else if (shellcode_params.arch == "arm") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - else if (shellcode_params.arch == "arm") { [INFO] [stdout] 21 + else if shellcode_params.arch == "arm" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `x86` should have an upper camel case name [INFO] [stdout] --> src/syscall/x86.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct 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: type `x64` should have an upper camel case name [INFO] [stdout] --> src/syscall/x64.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct x64; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `X64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `arm` should have an upper camel case name [INFO] [stdout] --> src/syscall/arm.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct arm; [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Arm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/syscall.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | if (shellcode_params.arch == "x86") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - if (shellcode_params.arch == "x86") { [INFO] [stdout] 15 + if shellcode_params.arch == "x86" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/syscall.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | else if (shellcode_params.arch == "x64") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - else if (shellcode_params.arch == "x64") { [INFO] [stdout] 18 + else if shellcode_params.arch == "x64" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/syscall.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | else if (shellcode_params.arch == "arm") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - else if (shellcode_params.arch == "arm") { [INFO] [stdout] 21 + else if shellcode_params.arch == "arm" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/syscall/x86.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | fn resolve_syscall(shellcode_params: &ShellcodeParams) -> String [INFO] [stdout] | --------------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/syscall/x64.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | fn resolve_syscall(shellcode_params: &ShellcodeParams) -> String [INFO] [stdout] | --------------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/syscall/x86.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | fn resolve_syscall(shellcode_params: &ShellcodeParams) -> String [INFO] [stdout] | --------------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/syscall/x64.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | fn resolve_syscall(shellcode_params: &ShellcodeParams) -> String [INFO] [stdout] | --------------- ^^^^^^ expected `String`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assembly` [INFO] [stdout] --> src/shellcode.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | fn to_shellcode(assembly: String) -> String [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assembly` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assembly` [INFO] [stdout] --> src/shellcode.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | fn to_shellcode(assembly: String) -> String [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assembly` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode_params` [INFO] [stdout] --> src/syscall/arm.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | fn resolve_syscall(shellcode_params: &ShellcodeParams) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode_params` [INFO] [stdout] --> src/syscall/arm.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | fn resolve_syscall(shellcode_params: &ShellcodeParams) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shellcode_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shellforge` (bin "shellforge" test) due to 5 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shellforge` (bin "shellforge") due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e1084988ddb2361f38d9293188893d4385c68aed845d1e99b5303edf16a6750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e1084988ddb2361f38d9293188893d4385c68aed845d1e99b5303edf16a6750", kill_on_drop: false }` [INFO] [stdout] 1e1084988ddb2361f38d9293188893d4385c68aed845d1e99b5303edf16a6750