[INFO] cloning repository https://github.com/galp76/exercise_counter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/galp76/exercise_counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgalp76%2Fexercise_counter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgalp76%2Fexercise_counter'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/galp76/exercise_counter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/galp76/exercise_counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgalp76%2Fexercise_counter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgalp76%2Fexercise_counter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 507287879ad001f922e90f05d87cb38339459027 [INFO] checking galp76/exercise_counter against master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgalp76%2Fexercise_counter" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/galp76/exercise_counter [INFO] finished tweaking git repo https://github.com/galp76/exercise_counter [INFO] tweaked toml for git repo https://github.com/galp76/exercise_counter written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/galp76/exercise_counter on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/galp76/exercise_counter 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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin_sleep v1.2.1 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa71f4693cd0c81ae114d725c4e44dc8714a5c5fa197e988e014e63511995a91 [INFO] running `Command { std: "docker" "start" "-a" "fa71f4693cd0c81ae114d725c4e44dc8714a5c5fa197e988e014e63511995a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa71f4693cd0c81ae114d725c4e44dc8714a5c5fa197e988e014e63511995a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa71f4693cd0c81ae114d725c4e44dc8714a5c5fa197e988e014e63511995a91", kill_on_drop: false }` [INFO] [stdout] fa71f4693cd0c81ae114d725c4e44dc8714a5c5fa197e988e014e63511995a91 [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" "-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d876cf6b720fa0f50f272cefcddbe9e2ee63ae1d6f18b59989c87a9e5f9e3b01 [INFO] running `Command { std: "docker" "start" "-a" "d876cf6b720fa0f50f272cefcddbe9e2ee63ae1d6f18b59989c87a9e5f9e3b01", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking spin_sleep v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking exercise_app_version_4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `appendToFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn appendToFile(fileName: String, data: String) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `append_to_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | fn appendToFile(fileName: String, data: String) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn createFile(data: String) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDate` should have a snake case name [INFO] [stdout] --> src/lib.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn getDate() -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeChar` should have a snake case name [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn changeChar(file: &str, actual: char, new: char) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileToString` should have a snake case name [INFO] [stdout] --> src/lib.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn fileToString(fileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/lib.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn fileToString(fileName: &str) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dayInfo` should have a snake case name [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn dayInfo(letter: &str, date: String) -> (&str, u8) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `day_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newData` should have a snake case name [INFO] [stdout] --> src/lib.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn newData(exercise: &str, quantity: &str) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dateStr` should have a snake case name [INFO] [stdout] --> src/lib.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let dateStr = super::getDate(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `date_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `appendToFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn appendToFile(fileName: String, data: String) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `append_to_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | fn appendToFile(fileName: String, data: String) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn createFile(data: String) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `create_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDate` should have a snake case name [INFO] [stdout] --> src/lib.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn getDate() -> String { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `get_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeChar` should have a snake case name [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn changeChar(file: &str, actual: char, new: char) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fileToString` should have a snake case name [INFO] [stdout] --> src/lib.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn fileToString(fileName: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `file_to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fileName` should have a snake case name [INFO] [stdout] --> src/lib.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn fileToString(fileName: &str) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dayInfo` should have a snake case name [INFO] [stdout] --> src/lib.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | fn dayInfo(letter: &str, date: String) -> (&str, u8) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `day_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newData` should have a snake case name [INFO] [stdout] --> src/lib.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn newData(exercise: &str, quantity: &str) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dateStr` should have a snake case name [INFO] [stdout] --> src/lib.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let dateStr = super::getDate(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `date_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | std::fs::rename("tmp.xhtml", "hello.xhtml"); [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] 210 | let _ = std::fs::rename("tmp.xhtml", "hello.xhtml"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | std::fs::rename("tmp.xhtml", "hello.xhtml"); [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] 210 | let _ = std::fs::rename("tmp.xhtml", "hello.xhtml"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "d876cf6b720fa0f50f272cefcddbe9e2ee63ae1d6f18b59989c87a9e5f9e3b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d876cf6b720fa0f50f272cefcddbe9e2ee63ae1d6f18b59989c87a9e5f9e3b01", kill_on_drop: false }` [INFO] [stdout] d876cf6b720fa0f50f272cefcddbe9e2ee63ae1d6f18b59989c87a9e5f9e3b01