[INFO] cloning repository https://github.com/manishdotsqlite/rust-crypto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manishdotsqlite/rust-crypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishdotsqlite%2Frust-crypto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishdotsqlite%2Frust-crypto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28ef26cb414c6412db03721993d83aeda30beeee [INFO] checking manishdotsqlite/rust-crypto against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishdotsqlite%2Frust-crypto" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/manishdotsqlite/rust-crypto [INFO] finished tweaking git repo https://github.com/manishdotsqlite/rust-crypto [INFO] tweaked toml for git repo https://github.com/manishdotsqlite/rust-crypto written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/manishdotsqlite/rust-crypto on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/manishdotsqlite/rust-crypto 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d50cb9bb984db58fee41d77f3b33a7fbe947bc8dfe47554cb1befd5efa69307 [INFO] running `Command { std: "docker" "start" "-a" "9d50cb9bb984db58fee41d77f3b33a7fbe947bc8dfe47554cb1befd5efa69307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d50cb9bb984db58fee41d77f3b33a7fbe947bc8dfe47554cb1befd5efa69307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d50cb9bb984db58fee41d77f3b33a7fbe947bc8dfe47554cb1befd5efa69307", kill_on_drop: false }` [INFO] [stdout] 9d50cb9bb984db58fee41d77f3b33a7fbe947bc8dfe47554cb1befd5efa69307 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5d7a2900c49fd614109e7d5fa6bca0830c2723034c914e0dfb617648eec2c27 [INFO] running `Command { std: "docker" "start" "-a" "e5d7a2900c49fd614109e7d5fa6bca0830c2723034c914e0dfb617648eec2c27", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking crypto-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/lib1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib1.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | };; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/lib1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib1.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | };; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/lib1.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | let vector_to_base64 = base64::encode(hex_to_vector); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/lib1.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | let vector_to_base64 = base64::encode(hex_to_vector); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/lib1.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let length: usize = hex.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/lib1.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let length: usize = hex.len(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_base64` is never used [INFO] [stdout] --> src/lib1.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn hex_to_base64(hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor` is never used [INFO] [stdout] --> src/lib1.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn xor(value1: &str, value2: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_character_xor` is never used [INFO] [stdout] --> src/lib1.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn single_character_xor() -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor_of_vector` is never used [INFO] [stdout] --> src/lib1.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn xor_of_vector(vect: Vec, c: char) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeating_key_xor` is never used [INFO] [stdout] --> src/lib1.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeating_key_xor(value: &str, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_base64` is never used [INFO] [stdout] --> src/lib1.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn hex_to_base64(hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor` is never used [INFO] [stdout] --> src/lib1.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn xor(value1: &str, value2: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_character_xor` is never used [INFO] [stdout] --> src/lib1.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn single_character_xor() -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `xor_of_vector` is never used [INFO] [stdout] --> src/lib1.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn xor_of_vector(vect: Vec, c: char) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeating_key_xor` is never used [INFO] [stdout] --> src/lib1.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn repeating_key_xor(value: &str, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib1.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | file.read_to_string(&mut contents) ; [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] 189 | let _ = file.read_to_string(&mut contents) ; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib1.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | file.read_to_string(&mut contents) ; [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] 189 | let _ = file.read_to_string(&mut contents) ; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.51s [INFO] running `Command { std: "docker" "inspect" "e5d7a2900c49fd614109e7d5fa6bca0830c2723034c914e0dfb617648eec2c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5d7a2900c49fd614109e7d5fa6bca0830c2723034c914e0dfb617648eec2c27", kill_on_drop: false }` [INFO] [stdout] e5d7a2900c49fd614109e7d5fa6bca0830c2723034c914e0dfb617648eec2c27