[INFO] cloning repository https://github.com/DanielSemilleroUAO/rust-start-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielSemilleroUAO/rust-start-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielSemilleroUAO%2Frust-start-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielSemilleroUAO%2Frust-start-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adabe4c1503abc0c485c73b8f26034c1171c1bba [INFO] building DanielSemilleroUAO/rust-start-project against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielSemilleroUAO%2Frust-start-project" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielSemilleroUAO/rust-start-project on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielSemilleroUAO/rust-start-project [INFO] finished tweaking git repo https://github.com/DanielSemilleroUAO/rust-start-project [INFO] tweaked toml for git repo https://github.com/DanielSemilleroUAO/rust-start-project written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DanielSemilleroUAO/rust-start-project 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0f73ed155796fbed8ed99a9a7b93deb9d733d4fd5abb01fc7c964f6cbf8b598 [INFO] running `Command { std: "docker" "start" "-a" "e0f73ed155796fbed8ed99a9a7b93deb9d733d4fd5abb01fc7c964f6cbf8b598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0f73ed155796fbed8ed99a9a7b93deb9d733d4fd5abb01fc7c964f6cbf8b598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f73ed155796fbed8ed99a9a7b93deb9d733d4fd5abb01fc7c964f6cbf8b598", kill_on_drop: false }` [INFO] [stdout] e0f73ed155796fbed8ed99a9a7b93deb9d733d4fd5abb01fc7c964f6cbf8b598 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da46c3c866d0ac6896cbbc1bf7853acd6e67ff5120face31306e38cee51131ba [INFO] running `Command { std: "docker" "start" "-a" "da46c3c866d0ac6896cbbc1bf7853acd6e67ff5120face31306e38cee51131ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling course-01-hello-world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops::Add` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ops::Add, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entero` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let entero: i8 = 23; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entero` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entero2` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let entero2: u8 = 40; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entero2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entoro3` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let entoro3: i8 = -48; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entoro3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hex` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let hex = 0xff; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `octal` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let octal = 0o77; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_octal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let binary = 0b1111_0000; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float1` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let float1 = 5.0; // f64 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_float1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float2` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let float2: f32 = 12.432; //f32 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_float2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verdadero` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let verdadero = true; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verdadero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `falso` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let falso: bool = false; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_falso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caracter` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let caracter = 'a'; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caracter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emoji` [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let emoji = '🥳'; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_emoji` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tupla` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let tupla = ('h', 23, -45, 0.222); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tupla` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arreglo2` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let arreglo2: [i128; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arreglo2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nombre` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let nombre = "Daniel Delgado"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nombre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apellido` [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let apellido: String = "Delgado".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_apellido` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointA` [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let pointA = Point(12, 21, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `website` [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let website = Website::URL("https://example.com".to_string()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_website` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let access = hasAccess(role); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcion` [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let opcion = Option::Some(32); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mi_struc` [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mi_struc: MiEstructura; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mi_struc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `algo` [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let algo: HashSet; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_algo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mapa` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mapa: HashMap; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mapa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcion` [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let opcion: Option; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numero` [INFO] [stdout] --> src/main.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | let Some(numero) = algun_numero else { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `punto` [INFO] [stdout] --> src/main.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | fn soyGeneric(punto: Point) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_punto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/main.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | struct Point(i32, i32, i32); [INFO] [stdout] | ----- ^^^ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `activo`, and `pais` are never read [INFO] [stdout] --> src/main.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 263 | struct Usuario { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 264 | nombre: String, [INFO] [stdout] 265 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 266 | edad: i32, [INFO] [stdout] 267 | activo: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 268 | pais: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usuario` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BASIC` is never constructed [INFO] [stdout] --> src/main.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 278 | enum UserRoles { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 279 | BASIC, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | URL(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 284 | URL(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INSTAGRAM` is never constructed [INFO] [stdout] --> src/main.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 283 | enum Website { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 284 | URL(String), [INFO] [stdout] 285 | INSTAGRAM(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soyGeneric` is never used [INFO] [stdout] --> src/main.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn soyGeneric(punto: Point) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `idioma` is never used [INFO] [stdout] --> src/main.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 314 | trait Hablar { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] 315 | fn di_hola(&self) -> String; [INFO] [stdout] 316 | fn idioma() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointA` should have a snake case name [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let pointA = Point(12, 21, 2); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `point_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hasAccess` should have a snake case name [INFO] [stdout] --> src/main.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn hasAccess(user_role: UserRoles) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `has_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soyGeneric` should have a snake case name [INFO] [stdout] --> src/main.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn soyGeneric(punto: Point) {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `soy_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "da46c3c866d0ac6896cbbc1bf7853acd6e67ff5120face31306e38cee51131ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da46c3c866d0ac6896cbbc1bf7853acd6e67ff5120face31306e38cee51131ba", kill_on_drop: false }` [INFO] [stdout] da46c3c866d0ac6896cbbc1bf7853acd6e67ff5120face31306e38cee51131ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2e26a3adb301faafebfa12475762a48aa22bf0259deccf01268686dcbeb4477 [INFO] running `Command { std: "docker" "start" "-a" "d2e26a3adb301faafebfa12475762a48aa22bf0259deccf01268686dcbeb4477", kill_on_drop: false }` [INFO] [stderr] Compiling course-01-hello-world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ops::Add` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ops::Add, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entero` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let entero: i8 = 23; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entero` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entero2` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let entero2: u8 = 40; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entero2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entoro3` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let entoro3: i8 = -48; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entoro3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hex` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let hex = 0xff; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `octal` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let octal = 0o77; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_octal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let binary = 0b1111_0000; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float1` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let float1 = 5.0; // f64 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_float1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `float2` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let float2: f32 = 12.432; //f32 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_float2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `verdadero` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let verdadero = true; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_verdadero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `falso` [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let falso: bool = false; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_falso` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caracter` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let caracter = 'a'; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caracter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emoji` [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let emoji = '🥳'; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_emoji` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tupla` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let tupla = ('h', 23, -45, 0.222); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tupla` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arreglo2` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let arreglo2: [i128; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arreglo2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nombre` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let nombre = "Daniel Delgado"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nombre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `apellido` [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let apellido: String = "Delgado".to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_apellido` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pointA` [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let pointA = Point(12, 21, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pointA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `website` [INFO] [stdout] --> src/main.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let website = Website::URL("https://example.com".to_string()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_website` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let access = hasAccess(role); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcion` [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let opcion = Option::Some(32); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mi_struc` [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mi_struc: MiEstructura; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mi_struc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `algo` [INFO] [stdout] --> src/main.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let algo: HashSet; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_algo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mapa` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mapa: HashMap; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mapa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcion` [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let opcion: Option; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numero` [INFO] [stdout] --> src/main.rs:217:14 [INFO] [stdout] | [INFO] [stdout] 217 | let Some(numero) = algun_numero else { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_numero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `punto` [INFO] [stdout] --> src/main.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | fn soyGeneric(punto: Point) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_punto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `activo`, and `pais` are never read [INFO] [stdout] --> src/main.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 263 | struct Usuario { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 264 | nombre: String, [INFO] [stdout] 265 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 266 | edad: i32, [INFO] [stdout] 267 | activo: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 268 | pais: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usuario` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BASIC` is never constructed [INFO] [stdout] --> src/main.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 278 | enum UserRoles { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 279 | BASIC, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | URL(String), [INFO] [stdout] | --- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 284 | URL(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INSTAGRAM` is never constructed [INFO] [stdout] --> src/main.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 283 | enum Website { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 284 | URL(String), [INFO] [stdout] 285 | INSTAGRAM(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soyGeneric` is never used [INFO] [stdout] --> src/main.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn soyGeneric(punto: Point) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `idioma` is never used [INFO] [stdout] --> src/main.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 314 | trait Hablar { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] 315 | fn di_hola(&self) -> String; [INFO] [stdout] 316 | fn idioma() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointA` should have a snake case name [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let pointA = Point(12, 21, 2); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `point_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hasAccess` should have a snake case name [INFO] [stdout] --> src/main.rs:288:4 [INFO] [stdout] | [INFO] [stdout] 288 | fn hasAccess(user_role: UserRoles) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `has_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soyGeneric` should have a snake case name [INFO] [stdout] --> src/main.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn soyGeneric(punto: Point) {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `soy_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "d2e26a3adb301faafebfa12475762a48aa22bf0259deccf01268686dcbeb4477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e26a3adb301faafebfa12475762a48aa22bf0259deccf01268686dcbeb4477", kill_on_drop: false }` [INFO] [stdout] d2e26a3adb301faafebfa12475762a48aa22bf0259deccf01268686dcbeb4477