[INFO] cloning repository https://github.com/JuanTorres93/hangman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JuanTorres93/hangman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanTorres93%2Fhangman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanTorres93%2Fhangman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 876cbb8fcc5f8c4d40f6d8042b5a091b24077fda [INFO] checking JuanTorres93/hangman against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJuanTorres93%2Fhangman" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JuanTorres93/hangman on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JuanTorres93/hangman [INFO] finished tweaking git repo https://github.com/JuanTorres93/hangman [INFO] tweaked toml for git repo https://github.com/JuanTorres93/hangman written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/JuanTorres93/hangman already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded home v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 641a4b94583bce878473c8be68bc7818a89484988dba558f2f331945c5e279fe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "641a4b94583bce878473c8be68bc7818a89484988dba558f2f331945c5e279fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "641a4b94583bce878473c8be68bc7818a89484988dba558f2f331945c5e279fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641a4b94583bce878473c8be68bc7818a89484988dba558f2f331945c5e279fe", kill_on_drop: false }` [INFO] [stdout] 641a4b94583bce878473c8be68bc7818a89484988dba558f2f331945c5e279fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7c5878fbcce2ea4bf88214cb9addcbaab87d5be14ae57b2e684f32554d0c513 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f7c5878fbcce2ea4bf88214cb9addcbaab87d5be14ae57b2e684f32554d0c513", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking hangman v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/hangman/file_system.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/hangman/file_system.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/hangman/file_system.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn copy_file_to_location(origin: String, destination: String, overwrite: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> src/hangman/file_system.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn copy_file_to_location(origin: String, destination: String, overwrite: bool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> src/hangman/file_system.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn copy_file_to_location(origin: String, destination: String, overwrite: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> src/hangman/file_system.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn copy_file_to_location(origin: String, destination: String, overwrite: bool) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file_to_string` [INFO] [stdout] --> src/hangman/file_system.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn read_file_to_string(filename: String) -> Result<(String, File), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `copy_file_to_location` [INFO] [stdout] --> src/hangman/file_system.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn copy_file_to_location(origin: String, destination: String, overwrite: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_directory` [INFO] [stdout] --> src/hangman/file_system.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_directory(dirname: &String){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `home_directory` [INFO] [stdout] --> src/hangman/file_system.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn home_directory() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path_exists` [INFO] [stdout] --> src/hangman/file_system.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn path_exists(path: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/hangman/file_system.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | create_dir_all(dirname); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file_to_string` [INFO] [stdout] --> src/hangman/file_system.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn read_file_to_string(filename: String) -> Result<(String, File), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `copy_file_to_location` [INFO] [stdout] --> src/hangman/file_system.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn copy_file_to_location(origin: String, destination: String, overwrite: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_directory` [INFO] [stdout] --> src/hangman/file_system.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn create_directory(dirname: &String){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `home_directory` [INFO] [stdout] --> src/hangman/file_system.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn home_directory() -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path_exists` [INFO] [stdout] --> src/hangman/file_system.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn path_exists(path: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/hangman/file_system.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | create_dir_all(dirname); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.74s [INFO] running `Command { std: "docker" "inspect" "f7c5878fbcce2ea4bf88214cb9addcbaab87d5be14ae57b2e684f32554d0c513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7c5878fbcce2ea4bf88214cb9addcbaab87d5be14ae57b2e684f32554d0c513", kill_on_drop: false }` [INFO] [stdout] f7c5878fbcce2ea4bf88214cb9addcbaab87d5be14ae57b2e684f32554d0c513