[INFO] cloning repository https://github.com/Swiiz/needle-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Swiiz/needle-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwiiz%2Fneedle-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwiiz%2Fneedle-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee22d1d18e4ca6697cd44a56213288b738773c11 [INFO] building Swiiz/needle-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSwiiz%2Fneedle-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Swiiz/needle-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Swiiz/needle-rs [INFO] finished tweaking git repo https://github.com/Swiiz/needle-rs [INFO] tweaked toml for git repo https://github.com/Swiiz/needle-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Swiiz/needle-rs 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/Swiiz/cyphres-rs.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1e47c3ed47881273b58ec469fdf876895f1ccb561220f10c7aed2b02b8f8328 [INFO] running `Command { std: "docker" "start" "-a" "d1e47c3ed47881273b58ec469fdf876895f1ccb561220f10c7aed2b02b8f8328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1e47c3ed47881273b58ec469fdf876895f1ccb561220f10c7aed2b02b8f8328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e47c3ed47881273b58ec469fdf876895f1ccb561220f10c7aed2b02b8f8328", kill_on_drop: false }` [INFO] [stdout] d1e47c3ed47881273b58ec469fdf876895f1ccb561220f10c7aed2b02b8f8328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f2e0e5f879fafbe54c6c1368349419276f675f510c3088719558c0991fa345f [INFO] running `Command { std: "docker" "start" "-a" "4f2e0e5f879fafbe54c6c1368349419276f675f510c3088719558c0991fa345f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling cyphres v0.1.0 (https://github.com/Swiiz/cyphres-rs.git#f0aefe81) [INFO] [stderr] Compiling needle v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn find_process(name: &str) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `name` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 35 | / platform_impl! { [INFO] [stdout] 36 | | fn find_process(name: &str) -> Result; [INFO] [stdout] 37 | | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn $fn$(<$($name$(: $type)?),*>)?($($argname: $argtype),*) $( -> $ret )? { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `platform_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/lib.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `pid` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 35 | / platform_impl! { [INFO] [stdout] 36 | | fn find_process(name: &str) -> Result; [INFO] [stdout] 37 | | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn $fn$(<$($name$(: $type)?),*>)?($($argname: $argtype),*) $( -> $ret )? { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `platform_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/lib.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shellcode` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 35 | / platform_impl! { [INFO] [stdout] 36 | | fn find_process(name: &str) -> Result; [INFO] [stdout] 37 | | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn $fn$(<$($name$(: $type)?),*>)?($($argname: $argtype),*) $( -> $ret )? { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `platform_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.97s [INFO] running `Command { std: "docker" "inspect" "4f2e0e5f879fafbe54c6c1368349419276f675f510c3088719558c0991fa345f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2e0e5f879fafbe54c6c1368349419276f675f510c3088719558c0991fa345f", kill_on_drop: false }` [INFO] [stdout] 4f2e0e5f879fafbe54c6c1368349419276f675f510c3088719558c0991fa345f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68f25b0d3d5ec287c550c45573abb5ed5292fb08b30b07ffc2d499a7dd9eb2e3 [INFO] running `Command { std: "docker" "start" "-a" "68f25b0d3d5ec287c550c45573abb5ed5292fb08b30b07ffc2d499a7dd9eb2e3", kill_on_drop: false }` [INFO] [stderr] Compiling needle v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn find_process(name: &str) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `name` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 35 | / platform_impl! { [INFO] [stdout] 36 | | fn find_process(name: &str) -> Result; [INFO] [stdout] 37 | | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn $fn$(<$($name$(: $type)?),*>)?($($argname: $argtype),*) $( -> $ret )? { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `platform_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/lib.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `pid` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 35 | / platform_impl! { [INFO] [stdout] 36 | | fn find_process(name: &str) -> Result; [INFO] [stdout] 37 | | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn $fn$(<$($name$(: $type)?),*>)?($($argname: $argtype),*) $( -> $ret )? { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `platform_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/lib.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shellcode` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 35 | / platform_impl! { [INFO] [stdout] 36 | | fn find_process(name: &str) -> Result; [INFO] [stdout] 37 | | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn $fn$(<$($name$(: $type)?),*>)?($($argname: $argtype),*) $( -> $ret )? { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `platform_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn find_process(name: &str) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `name` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 35 | / platform_impl! { [INFO] [stdout] 36 | | fn find_process(name: &str) -> Result; [INFO] [stdout] 37 | | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn $fn$(<$($name$(: $type)?),*>)?($($argname: $argtype),*) $( -> $ret )? { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `platform_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/lib.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `pid` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 35 | / platform_impl! { [INFO] [stdout] 36 | | fn find_process(name: &str) -> Result; [INFO] [stdout] 37 | | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn $fn$(<$($name$(: $type)?),*>)?($($argname: $argtype),*) $( -> $ret )? { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `platform_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shellcode` [INFO] [stdout] --> src/lib.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `shellcode` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 35 | / platform_impl! { [INFO] [stdout] 36 | | fn find_process(name: &str) -> Result; [INFO] [stdout] 37 | | fn inject(pid: ProcessId, shellcode: Shellcode) -> Result<(), InjectionError>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn $fn$(<$($name$(: $type)?),*>)?($($argname: $argtype),*) $( -> $ret )? { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `platform_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "68f25b0d3d5ec287c550c45573abb5ed5292fb08b30b07ffc2d499a7dd9eb2e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68f25b0d3d5ec287c550c45573abb5ed5292fb08b30b07ffc2d499a7dd9eb2e3", kill_on_drop: false }` [INFO] [stdout] 68f25b0d3d5ec287c550c45573abb5ed5292fb08b30b07ffc2d499a7dd9eb2e3