[INFO] cloning repository https://github.com/xorydev/solcrypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xorydev/solcrypt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxorydev%2Fsolcrypt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxorydev%2Fsolcrypt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dc294337b70e412bc773d73d630fafe6da2f75b [INFO] building xorydev/solcrypt against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxorydev%2Fsolcrypt" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xorydev/solcrypt [INFO] finished tweaking git repo https://github.com/xorydev/solcrypt [INFO] tweaked toml for git repo https://github.com/xorydev/solcrypt written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xorydev/solcrypt on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xorydev/solcrypt 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded block-modes v0.8.1 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cadb2883159d6646b6319fb35ea69c62d4b66abdce4cf16c48556b19d56662b8 [INFO] running `Command { std: "docker" "start" "-a" "cadb2883159d6646b6319fb35ea69c62d4b66abdce4cf16c48556b19d56662b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cadb2883159d6646b6319fb35ea69c62d4b66abdce4cf16c48556b19d56662b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cadb2883159d6646b6319fb35ea69c62d4b66abdce4cf16c48556b19d56662b8", kill_on_drop: false }` [INFO] [stdout] cadb2883159d6646b6319fb35ea69c62d4b66abdce4cf16c48556b19d56662b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e6937e7eef31257c52204da93c0d2e144a49f2a6fb0fa76e5e534cee6fd80da [INFO] running `Command { std: "docker" "start" "-a" "6e6937e7eef31257c52204da93c0d2e144a49f2a6fb0fa76e5e534cee6fd80da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling solcrypt v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FromStr` [INFO] [stdout] --> src/crypto.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::{self, FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/crypto.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use reqwest::blocking::{Client, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromStr` [INFO] [stdout] --> src/crypto.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::{self, FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/crypto.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use reqwest::blocking::{Client, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C2ADDR` is never used [INFO] [stdout] --> src/crypto.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const C2ADDR: &str = "c2serveraddr"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GID` is never used [INFO] [stdout] --> src/crypto.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const GID: i32 = 4444; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_file` is never used [INFO] [stdout] --> src/crypto.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn encrypt_file(input_path: &str, output_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_directory` is never used [INFO] [stdout] --> src/crypto.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn encrypt_directory(directory_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register` is never used [INFO] [stdout] --> src/crypto.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn register() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_file` is never used [INFO] [stdout] --> src/crypto.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn decrypt_file(input_path: &str, output_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_directory` is never used [INFO] [stdout] --> src/crypto.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn decrypt_directory(directory_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.66s [INFO] running `Command { std: "docker" "inspect" "6e6937e7eef31257c52204da93c0d2e144a49f2a6fb0fa76e5e534cee6fd80da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6937e7eef31257c52204da93c0d2e144a49f2a6fb0fa76e5e534cee6fd80da", kill_on_drop: false }` [INFO] [stdout] 6e6937e7eef31257c52204da93c0d2e144a49f2a6fb0fa76e5e534cee6fd80da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 889e031e0435a8dd5440aa484c0f72965a61b1317daceed9dba5845b8f72f610 [INFO] running `Command { std: "docker" "start" "-a" "889e031e0435a8dd5440aa484c0f72965a61b1317daceed9dba5845b8f72f610", kill_on_drop: false }` [INFO] [stderr] Compiling solcrypt v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FromStr` [INFO] [stdout] --> src/crypto.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::{self, FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/crypto.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use reqwest::blocking::{Client, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C2ADDR` is never used [INFO] [stdout] --> src/crypto.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const C2ADDR: &str = "c2serveraddr"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GID` is never used [INFO] [stdout] --> src/crypto.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const GID: i32 = 4444; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_file` is never used [INFO] [stdout] --> src/crypto.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn encrypt_file(input_path: &str, output_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_directory` is never used [INFO] [stdout] --> src/crypto.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn encrypt_directory(directory_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register` is never used [INFO] [stdout] --> src/crypto.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn register() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromStr` [INFO] [stdout] --> src/crypto.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use std::str::{self, FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/crypto.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use reqwest::blocking::{Client, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_file` is never used [INFO] [stdout] --> src/crypto.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn decrypt_file(input_path: &str, output_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_directory` is never used [INFO] [stdout] --> src/crypto.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn decrypt_directory(directory_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "889e031e0435a8dd5440aa484c0f72965a61b1317daceed9dba5845b8f72f610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889e031e0435a8dd5440aa484c0f72965a61b1317daceed9dba5845b8f72f610", kill_on_drop: false }` [INFO] [stdout] 889e031e0435a8dd5440aa484c0f72965a61b1317daceed9dba5845b8f72f610