[INFO] cloning repository https://github.com/diegor8/learning-rust-with-iterators [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diegor8/learning-rust-with-iterators" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegor8%2Flearning-rust-with-iterators", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegor8%2Flearning-rust-with-iterators'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6948913c1c1a2b7d569593d64a33499ccc195de [INFO] checking diegor8/learning-rust-with-iterators against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiegor8%2Flearning-rust-with-iterators" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/diegor8/learning-rust-with-iterators on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/diegor8/learning-rust-with-iterators [INFO] finished tweaking git repo https://github.com/diegor8/learning-rust-with-iterators [INFO] tweaked toml for git repo https://github.com/diegor8/learning-rust-with-iterators written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/diegor8/learning-rust-with-iterators already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ce08bdc669c8207d7c8735e35063c7004f0fdbec974273288326d396f02bfe1 [INFO] running `Command { std: "docker" "start" "-a" "5ce08bdc669c8207d7c8735e35063c7004f0fdbec974273288326d396f02bfe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ce08bdc669c8207d7c8735e35063c7004f0fdbec974273288326d396f02bfe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce08bdc669c8207d7c8735e35063c7004f0fdbec974273288326d396f02bfe1", kill_on_drop: false }` [INFO] [stdout] 5ce08bdc669c8207d7c8735e35063c7004f0fdbec974273288326d396f02bfe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e0a58439ab18b4a39ebd9d661ec46a40917f6a22e93eba1bdd90e132746e066 [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" "8e0a58439ab18b4a39ebd9d661ec46a40917f6a22e93eba1bdd90e132746e066", kill_on_drop: false }` [INFO] [stderr] Checking main v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `garbage` [INFO] [stdout] --> src/semana9.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | fn entero(garbage:usize) -> usize { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_garbage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ejercicio` [INFO] [stdout] --> src/semana9.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const ejercicio : usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ejercicio` should have an upper case name [INFO] [stdout] --> src/semana9.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const ejercicio : usize = 2; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `EJERCICIO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ListaInput` should have a snake case name [INFO] [stdout] --> src/semana9.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn ListaInput() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lista_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SumarMayoresA10` should have a snake case name [INFO] [stdout] --> src/semana9.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn SumarMayoresA10(vector :Vec ) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sumar_mayores_a10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `garbage` [INFO] [stdout] --> src/semana9.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | fn entero(garbage:usize) -> usize { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_garbage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial` [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn factorial(n : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factor` [INFO] [stdout] --> src/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn factor(n:usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `numeroPerfecto` should have a snake case name [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn numeroPerfecto(n:i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `numero_perfecto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SepararPalabras` should have a snake case name [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn SepararPalabras (cadena : &str ) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `separar_palabras` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `OtrosCaracteres` should have a snake case name [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn OtrosCaracteres (cadena : &str ) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `otros_caracteres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CuentaPalabras` should have a snake case name [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn CuentaPalabras (cadena : &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cuenta_palabras` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ejercicio` [INFO] [stdout] --> src/semana9.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | const ejercicio : usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ejercicio` should have an upper case name [INFO] [stdout] --> src/semana9.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const ejercicio : usize = 2; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `EJERCICIO` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ListaInput` should have a snake case name [INFO] [stdout] --> src/semana9.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn ListaInput() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lista_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SumarMayoresA10` should have a snake case name [INFO] [stdout] --> src/semana9.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn SumarMayoresA10(vector :Vec ) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sumar_mayores_a10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factorial` [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn factorial(n : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factor` [INFO] [stdout] --> src/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn factor(n:usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `numeroPerfecto` should have a snake case name [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn numeroPerfecto(n:i64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `numero_perfecto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SepararPalabras` should have a snake case name [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn SepararPalabras (cadena : &str ) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `separar_palabras` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `OtrosCaracteres` should have a snake case name [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn OtrosCaracteres (cadena : &str ) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `otros_caracteres` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `CuentaPalabras` should have a snake case name [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn CuentaPalabras (cadena : &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cuenta_palabras` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "8e0a58439ab18b4a39ebd9d661ec46a40917f6a22e93eba1bdd90e132746e066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e0a58439ab18b4a39ebd9d661ec46a40917f6a22e93eba1bdd90e132746e066", kill_on_drop: false }` [INFO] [stdout] 8e0a58439ab18b4a39ebd9d661ec46a40917f6a22e93eba1bdd90e132746e066