[INFO] cloning repository https://github.com/ljacques99/expresiones2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ljacques99/expresiones2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljacques99%2Fexpresiones2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljacques99%2Fexpresiones2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e600c32d43d0868b236ff74245fc5e8290f8ed5f [INFO] building ljacques99/expresiones2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljacques99%2Fexpresiones2" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ljacques99/expresiones2 [INFO] finished tweaking git repo https://github.com/ljacques99/expresiones2 [INFO] tweaked toml for git repo https://github.com/ljacques99/expresiones2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ljacques99/expresiones2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ljacques99/expresiones2 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecheck v0.6.12 [INFO] [stderr] Downloaded bytecheck_derive v0.6.12 [INFO] [stderr] Downloaded rend v0.4.2 [INFO] [stderr] Downloaded rust_decimal_macros v1.37.1 [INFO] [stderr] Downloaded rkyv_derive v0.7.45 [INFO] [stderr] Downloaded csv-core v0.1.12 [INFO] [stderr] Downloaded borsh-derive v1.5.6 [INFO] [stderr] Downloaded uuid v1.16.0 [INFO] [stderr] Downloaded rkyv v0.7.45 [INFO] [stderr] Downloaded borsh v1.5.6 [INFO] [stderr] Downloaded rust_decimal v1.37.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c8c537af7c77876005242907934656b894cd8a2d57caa867536587ea35ba743 [INFO] running `Command { std: "docker" "start" "-a" "9c8c537af7c77876005242907934656b894cd8a2d57caa867536587ea35ba743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c8c537af7c77876005242907934656b894cd8a2d57caa867536587ea35ba743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8c537af7c77876005242907934656b894cd8a2d57caa867536587ea35ba743", kill_on_drop: false }` [INFO] [stdout] 9c8c537af7c77876005242907934656b894cd8a2d57caa867536587ea35ba743 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2afa069de6dcf965f2b135161691ec4ba08ac7bd0375c8762ecc5f4369cc0f1f [INFO] running `Command { std: "docker" "start" "-a" "2afa069de6dcf965f2b135161691ec4ba08ac7bd0375c8762ecc5f4369cc0f1f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling expresiones2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rust_decimal::prelude::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_decimal::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::x86_64` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::arch::x86_64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Display` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveTime`, and `Utc` [INFO] [stdout] --> src/main.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | use chrono::{Local, Datelike, NaiveDate, NaiveDateTime, NaiveTime, DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/main.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use csv::{Reader, Writer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | _ => println!("No se reconoce la fugura"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 290 | Figura::Circulo(c) => println!("Area del cirulo: {:?}", c.area()), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 291 | Figura::Rectangulo(r) => println!("Area del rectangulo: {:?}", r.area()), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 292 | _ => println!("No se reconoce la fugura"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | Ok(file) => println!("Archivo abierto correctamente"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Circulo { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 58 | fn new(radio: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecI` should have a snake case name [INFO] [stdout] --> src/main.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | let vecI = vec![ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `vec_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mapaText` should have a snake case name [INFO] [stdout] --> src/main.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | let mut mapaText = HashMap::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `mapa_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.93s [INFO] running `Command { std: "docker" "inspect" "2afa069de6dcf965f2b135161691ec4ba08ac7bd0375c8762ecc5f4369cc0f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afa069de6dcf965f2b135161691ec4ba08ac7bd0375c8762ecc5f4369cc0f1f", kill_on_drop: false }` [INFO] [stdout] 2afa069de6dcf965f2b135161691ec4ba08ac7bd0375c8762ecc5f4369cc0f1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e691676414c522c7ea7f4cf8e134c2c3343969c3eca2fbf21bf842b568425255 [INFO] running `Command { std: "docker" "start" "-a" "e691676414c522c7ea7f4cf8e134c2c3343969c3eca2fbf21bf842b568425255", kill_on_drop: false }` [INFO] [stderr] Compiling expresiones2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rust_decimal::prelude::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_decimal::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::x86_64` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::arch::x86_64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Display` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveTime`, and `Utc` [INFO] [stdout] --> src/main.rs:18:57 [INFO] [stdout] | [INFO] [stdout] 18 | use chrono::{Local, Datelike, NaiveDate, NaiveDateTime, NaiveTime, DateTime, Utc, Duration}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/main.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use csv::{Reader, Writer}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | _ => println!("No se reconoce la fugura"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 290 | Figura::Circulo(c) => println!("Area del cirulo: {:?}", c.area()), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 291 | Figura::Rectangulo(r) => println!("Area del rectangulo: {:?}", r.area()), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 292 | _ => println!("No se reconoce la fugura"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | Ok(file) => println!("Archivo abierto correctamente"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Circulo { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 58 | fn new(radio: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecI` should have a snake case name [INFO] [stdout] --> src/main.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | let vecI = vec![ [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `vec_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mapaText` should have a snake case name [INFO] [stdout] --> src/main.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | let mut mapaText = HashMap::new(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `mapa_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "e691676414c522c7ea7f4cf8e134c2c3343969c3eca2fbf21bf842b568425255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e691676414c522c7ea7f4cf8e134c2c3343969c3eca2fbf21bf842b568425255", kill_on_drop: false }` [INFO] [stdout] e691676414c522c7ea7f4cf8e134c2c3343969c3eca2fbf21bf842b568425255