[INFO] cloning repository https://github.com/lucagior22/1er_sem_2do_anio_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucagior22/1er_sem_2do_anio_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucagior22%2F1er_sem_2do_anio_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucagior22%2F1er_sem_2do_anio_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da69db3ed65b47fe206db94998d0c0b92f9318c5 [INFO] checking lucagior22/1er_sem_2do_anio_rust against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucagior22%2F1er_sem_2do_anio_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/biblioteca.exe [INFO] [stderr] error: unable to write file src/biblioteca.pdb [INFO] [stderr] error: unable to write file src/biblioteca.rs [INFO] [stderr] error: unable to write file src/concesionario.rs [INFO] [stderr] error: unable to write file src/estudiante.rs [INFO] [stderr] error: unable to write file src/fecha.rs [INFO] [stderr] error: unable to write file src/main.rs [INFO] [stderr] error: unable to write file src/p1.rs [INFO] [stderr] error: unable to write file src/p2.exe [INFO] [stderr] error: unable to write file src/p2.pdb [INFO] [stderr] error: unable to write file src/p2.rs [INFO] [stderr] error: unable to write file src/p3.rs [INFO] [stderr] error: unable to write file src/p4.rs [INFO] [stderr] error: unable to write file src/persona.rs [INFO] [stderr] error: unable to write file src/playlist.rs [INFO] [stderr] error: unable to write file src/producto.rs [INFO] [stderr] error: unable to write file src/rectangulo.rs [INFO] [stderr] error: unable to write file src/triangulo.rs [INFO] [stderr] error: unable to write file src/veterinaria.rs [INFO] [stderr] fatal: cannot create directory at 'target': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking lucagior22/1er_sem_2do_anio_rust against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucagior22%2F1er_sem_2do_anio_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/biblioteca.exe [INFO] [stderr] error: unable to write file src/biblioteca.pdb [INFO] [stderr] error: unable to write file src/biblioteca.rs [INFO] [stderr] error: unable to write file src/concesionario.rs [INFO] [stderr] error: unable to write file src/p2.exe [INFO] [stderr] error: unable to write file src/p2.pdb [INFO] [stderr] error: unable to write file src/p2.rs [INFO] [stderr] error: unable to write file src/p3.rs [INFO] [stderr] error: unable to write file src/p4.rs [INFO] [stderr] error: unable to write file src/persona.rs [INFO] [stderr] error: unable to write file src/playlist.rs [INFO] [stderr] error: unable to write file src/producto.rs [INFO] [stderr] error: unable to write file src/rectangulo.rs [INFO] [stderr] error: unable to write file src/triangulo.rs [INFO] [stderr] error: unable to write file src/veterinaria.rs [INFO] [stderr] fatal: cannot create directory at 'target': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking lucagior22/1er_sem_2do_anio_rust against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucagior22%2F1er_sem_2do_anio_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/biblioteca.pdb [INFO] [stderr] error: unable to write file src/biblioteca.rs [INFO] [stderr] error: unable to write file src/concesionario.rs [INFO] [stderr] error: unable to write file src/estudiante.rs [INFO] [stderr] error: unable to write file src/fecha.rs [INFO] [stderr] error: unable to write file src/main.rs [INFO] [stderr] error: unable to write file src/p1.rs [INFO] [stderr] error: unable to write file src/p2.exe [INFO] [stderr] error: unable to write file src/p2.pdb [INFO] [stderr] error: unable to write file src/p2.rs [INFO] [stderr] error: unable to write file src/p3.rs [INFO] [stderr] error: unable to write file src/p4.rs [INFO] [stderr] error: unable to write file src/persona.rs [INFO] [stderr] error: unable to write file src/playlist.rs [INFO] [stderr] error: unable to write file src/producto.rs [INFO] [stderr] error: unable to write file src/rectangulo.rs [INFO] [stderr] error: unable to write file src/triangulo.rs [INFO] [stderr] error: unable to write file src/veterinaria.rs [INFO] [stderr] fatal: cannot create directory at 'target': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking lucagior22/1er_sem_2do_anio_rust against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucagior22%2F1er_sem_2do_anio_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/biblioteca.pdb [INFO] [stderr] error: unable to write file src/biblioteca.rs [INFO] [stderr] error: unable to write file src/concesionario.rs [INFO] [stderr] error: unable to write file src/estudiante.rs [INFO] [stderr] error: unable to write file src/fecha.rs [INFO] [stderr] error: unable to write file src/main.rs [INFO] [stderr] error: unable to write file src/p1.rs [INFO] [stderr] error: unable to write file src/p2.exe [INFO] [stderr] error: unable to write file src/p2.pdb [INFO] [stderr] error: unable to write file src/p2.rs [INFO] [stderr] error: unable to write file src/p3.rs [INFO] [stderr] error: unable to write file src/p4.rs [INFO] [stderr] error: unable to write file src/persona.rs [INFO] [stderr] error: unable to write file src/playlist.rs [INFO] [stderr] error: unable to write file src/producto.rs [INFO] [stderr] error: unable to write file src/rectangulo.rs [INFO] [stderr] error: unable to write file src/triangulo.rs [INFO] [stderr] error: unable to write file src/veterinaria.rs [INFO] [stderr] fatal: cannot create directory at 'target': No space left on device [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking lucagior22/1er_sem_2do_anio_rust against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucagior22%2F1er_sem_2do_anio_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lucagior22/1er_sem_2do_anio_rust on toolchain 5cafabc9f16561d7796554d5d241c3068e2bd97f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lucagior22/1er_sem_2do_anio_rust [INFO] finished tweaking git repo https://github.com/lucagior22/1er_sem_2do_anio_rust [INFO] tweaked toml for git repo https://github.com/lucagior22/1er_sem_2do_anio_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lucagior22/1er_sem_2do_anio_rust 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" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd20033809beb5608c45c7d2ef5fa7936a3cbadc801460235b11d2310c963b8e [INFO] running `Command { std: "docker" "start" "-a" "dd20033809beb5608c45c7d2ef5fa7936a3cbadc801460235b11d2310c963b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd20033809beb5608c45c7d2ef5fa7936a3cbadc801460235b11d2310c963b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd20033809beb5608c45c7d2ef5fa7936a3cbadc801460235b11d2310c963b8e", kill_on_drop: false }` [INFO] [stdout] dd20033809beb5608c45c7d2ef5fa7936a3cbadc801460235b11d2310c963b8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 565f75f3ac19447337b7c9a60ab4f28ed9b6c8392299e80828065ea96ce39dec [INFO] running `Command { std: "docker" "start" "-a" "565f75f3ac19447337b7c9a60ab4f28ed9b6c8392299e80828065ea96ce39dec", kill_on_drop: false }` [INFO] [stderr] Checking main v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biblioteca.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | for mut i in &mut self.libros_disponibles{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biblioteca.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | let mut p = Prestamo{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biblioteca.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | for mut i in &mut self.libros_disponibles{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biblioteca.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | for mut i in &mut self.prestamos{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biblioteca.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | let mut p = Prestamo{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/biblioteca.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | for mut i in &mut self.prestamos{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/concesionario.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let mut i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/concesionario.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let mut index: usize = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encontre` [INFO] [stdout] --> src/concesionario.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut encontre = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encontre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut index: usize = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut encontre = false; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | for mut i in &mut self.autos{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let mut a1 : Auto = Auto::new("Bmw".to_string(), "m3".to_string(), 2010, 15000.0, Color::Amarillo); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut a2 : Auto = Auto::new("Audi".to_string(), "R8".to_string(), 2017, 40000.0, Color::Negro); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut a3 : Auto = Auto::new("Ford".to_string(), "Fiesta".to_string(), 2005, 10000.0, Color::Rojo); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut a4 : Auto = Auto::new("Fiat".to_string(), "Uno".to_string(), 1999, 8000.0, Color::Azul); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut a5 : Auto = Auto::new("Dodge".to_string(), "Ram".to_string(), 2020, 17000.0, Color::Verde); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let mut a6 : Auto = Auto::new("Bmw".to_string(), "m4".to_string(), 2023, 25000.0, Color::Negro); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/concesionario.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | let mut i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/concesionario.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let mut index: usize = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encontre` [INFO] [stdout] --> src/concesionario.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let mut encontre = false; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encontre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut index: usize = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut encontre = false; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | for mut i in &mut self.autos{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let mut a1 : Auto = Auto::new("Bmw".to_string(), "m3".to_string(), 2010, 15000.0, Color::Amarillo); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut a2 : Auto = Auto::new("Audi".to_string(), "R8".to_string(), 2017, 40000.0, Color::Negro); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut a3 : Auto = Auto::new("Ford".to_string(), "Fiesta".to_string(), 2005, 10000.0, Color::Rojo); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let mut a4 : Auto = Auto::new("Fiat".to_string(), "Uno".to_string(), 1999, 8000.0, Color::Azul); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut a5 : Auto = Auto::new("Dodge".to_string(), "Ram".to_string(), 2020, 17000.0, Color::Verde); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/concesionario.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let mut a6 : Auto = Auto::new("Bmw".to_string(), "m4".to_string(), 2023, 25000.0, Color::Negro); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.calificaciones` which is behind a shared reference [INFO] [stdout] --> src/estudiante.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | for i in self.calificaciones{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self.calificaciones` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | move occurs because `self.calificaciones` has type `VecDeque`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.calificaciones` [INFO] [stdout] --> /rustc/5cafabc9f16561d7796554d5d241c3068e2bd97f/library/core/src/iter/traits/collect.rs:313:18 [INFO] [stdout] help: consider iterating over a slice of the `VecDeque`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 51 | for i in &self.calificaciones{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.calificaciones` which is behind a shared reference [INFO] [stdout] --> src/estudiante.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | for i in self.calificaciones{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self.calificaciones` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | move occurs because `self.calificaciones` has type `VecDeque`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.calificaciones` [INFO] [stdout] --> /rustc/5cafabc9f16561d7796554d5d241c3068e2bd97f/library/core/src/iter/traits/collect.rs:313:18 [INFO] [stdout] help: consider iterating over a slice of the `VecDeque`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 51 | for i in &self.calificaciones{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.calificaciones` which is behind a shared reference [INFO] [stdout] --> src/estudiante.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | for i in self.calificaciones{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self.calificaciones` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | move occurs because `self.calificaciones` has type `VecDeque`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.calificaciones` [INFO] [stdout] --> /rustc/5cafabc9f16561d7796554d5d241c3068e2bd97f/library/core/src/iter/traits/collect.rs:313:18 [INFO] [stdout] help: consider iterating over a slice of the `VecDeque`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 63 | for i in &self.calificaciones{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.calificaciones` which is behind a shared reference [INFO] [stdout] --> src/estudiante.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | for i in self.calificaciones{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self.calificaciones` moved due to this implicit call to `.into_iter()` [INFO] [stdout] | move occurs because `self.calificaciones` has type `VecDeque`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `self.calificaciones` [INFO] [stdout] --> /rustc/5cafabc9f16561d7796554d5d241c3068e2bd97f/library/core/src/iter/traits/collect.rs:313:18 [INFO] [stdout] help: consider iterating over a slice of the `VecDeque`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 63 | for i in &self.calificaciones{ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `main` (bin "main") due to 2 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `main` (bin "main" test) due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "565f75f3ac19447337b7c9a60ab4f28ed9b6c8392299e80828065ea96ce39dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "565f75f3ac19447337b7c9a60ab4f28ed9b6c8392299e80828065ea96ce39dec", kill_on_drop: false }` [INFO] [stdout] 565f75f3ac19447337b7c9a60ab4f28ed9b6c8392299e80828065ea96ce39dec