[INFO] cloning repository https://github.com/suleman-syr/enc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suleman-syr/enc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuleman-syr%2Fenc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuleman-syr%2Fenc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dde18c99bf2e6c973da5acbc639260ace13981f [INFO] testing suleman-syr/enc against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuleman-syr%2Fenc" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/suleman-syr/enc [INFO] finished tweaking git repo https://github.com/suleman-syr/enc [INFO] tweaked toml for git repo https://github.com/suleman-syr/enc written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/suleman-syr/enc on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/suleman-syr/enc 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secrecy v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1791ba9151bc159b1ca9a72e136837c3ecdcc6b59f5a6e082cc2f38fce69126 [INFO] running `Command { std: "docker" "start" "-a" "f1791ba9151bc159b1ca9a72e136837c3ecdcc6b59f5a6e082cc2f38fce69126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1791ba9151bc159b1ca9a72e136837c3ecdcc6b59f5a6e082cc2f38fce69126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1791ba9151bc159b1ca9a72e136837c3ecdcc6b59f5a6e082cc2f38fce69126", kill_on_drop: false }` [INFO] [stdout] f1791ba9151bc159b1ca9a72e136837c3ecdcc6b59f5a6e082cc2f38fce69126 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0cc3747e02b5e53061c2025e87b77513d86a1c8efd4af93cd7cdd310aa4d6e0 [INFO] running `Command { std: "docker" "start" "-a" "a0cc3747e02b5e53061c2025e87b77513d86a1c8efd4af93cd7cdd310aa4d6e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling secrecy v0.10.2 [INFO] [stderr] Compiling libaes v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [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 sysinfo v0.32.0 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling encryptor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `process_runing` [INFO] [stdout] --> src/sys/victem.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | let process_runing = Self::list_process(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_runing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `sys` [INFO] [stdout] --> src/sys/victem.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 48 | for (pid , process) in sys.processes() { [INFO] [stdout] | --- `sys` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 53 | process_runing [INFO] [stdout] | ^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/sys/victem.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn kill_process_by_id( id : String) -> Result<() , io::Error> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/sys/victem.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | for (pid , process) in Self::list_process() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/sys/victem.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn kill_process_by_name(name : String) -> Result<() , io::Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `encryptor` (bin "encryptor") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a0cc3747e02b5e53061c2025e87b77513d86a1c8efd4af93cd7cdd310aa4d6e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0cc3747e02b5e53061c2025e87b77513d86a1c8efd4af93cd7cdd310aa4d6e0", kill_on_drop: false }` [INFO] [stdout] a0cc3747e02b5e53061c2025e87b77513d86a1c8efd4af93cd7cdd310aa4d6e0