[INFO] cloning repository https://github.com/mateogorga/TP_Individual_SQL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mateogorga/TP_Individual_SQL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogorga%2FTP_Individual_SQL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogorga%2FTP_Individual_SQL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5efa48db37d4583d6e8ef4879f2888a2cc98bcb [INFO] testing mateogorga/TP_Individual_SQL against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmateogorga%2FTP_Individual_SQL" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mateogorga/TP_Individual_SQL [INFO] finished tweaking git repo https://github.com/mateogorga/TP_Individual_SQL [INFO] tweaked toml for git repo https://github.com/mateogorga/TP_Individual_SQL written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mateogorga/TP_Individual_SQL on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mateogorga/TP_Individual_SQL 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76d6bec18b2b27b3a828fb05c7b58ba6ecf1536665943c4cf0a884f6e4cdf6b8 [INFO] running `Command { std: "docker" "start" "-a" "76d6bec18b2b27b3a828fb05c7b58ba6ecf1536665943c4cf0a884f6e4cdf6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76d6bec18b2b27b3a828fb05c7b58ba6ecf1536665943c4cf0a884f6e4cdf6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d6bec18b2b27b3a828fb05c7b58ba6ecf1536665943c4cf0a884f6e4cdf6b8", kill_on_drop: false }` [INFO] [stdout] 76d6bec18b2b27b3a828fb05c7b58ba6ecf1536665943c4cf0a884f6e4cdf6b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adaa823ffeac4b2f5a48e8d84f96f0f0a6c16bca852e25c1c65c414fa8edc1e7 [INFO] running `Command { std: "docker" "start" "-a" "adaa823ffeac4b2f5a48e8d84f96f0f0a6c16bca852e25c1c65c414fa8edc1e7", kill_on_drop: false }` [INFO] [stderr] Compiling SQL v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `Write`, and `self` [INFO] [stdout] --> src/parser.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead, BufReader, BufWriter, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/insert.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/insert.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | comp_where => select_where(consulta, ruta), [INFO] [stdout] | ---------- matches any value [INFO] [stdout] 117 | comp_order_by => select_order_by(), [INFO] [stdout] | ^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let comp_where = "WHERE".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 116 | comp_where => select_where(consulta, ruta), [INFO] [stdout] | ---------- matches any value [INFO] [stdout] 117 | comp_order_by => select_order_by(), [INFO] [stdout] 118 | _ => errors::mostrar_error(errors::ErrorType::InvalidSintax, "Error al procesar la consulta"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let comp_where = "WHERE".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_where` [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let comp_where = "WHERE".to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_where` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_order_by` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let comp_order_by = "ORDER".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_order_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_where` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | comp_where => select_where(consulta, ruta), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_where` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_order_by` [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | comp_order_by => select_order_by(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_order_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.86s [INFO] running `Command { std: "docker" "inspect" "adaa823ffeac4b2f5a48e8d84f96f0f0a6c16bca852e25c1c65c414fa8edc1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adaa823ffeac4b2f5a48e8d84f96f0f0a6c16bca852e25c1c65c414fa8edc1e7", kill_on_drop: false }` [INFO] [stdout] adaa823ffeac4b2f5a48e8d84f96f0f0a6c16bca852e25c1c65c414fa8edc1e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e53460bbdc7d343f8241ed5abeb842cba374804ad5354fa3261eeefa8e1cf01e [INFO] running `Command { std: "docker" "start" "-a" "e53460bbdc7d343f8241ed5abeb842cba374804ad5354fa3261eeefa8e1cf01e", kill_on_drop: false }` [INFO] [stderr] Compiling SQL v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `Write`, and `self` [INFO] [stdout] --> src/parser.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead, BufReader, BufWriter, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/insert.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/insert.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | comp_where => select_where(consulta, ruta), [INFO] [stdout] | ---------- matches any value [INFO] [stdout] 117 | comp_order_by => select_order_by(), [INFO] [stdout] | ^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let comp_where = "WHERE".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 116 | comp_where => select_where(consulta, ruta), [INFO] [stdout] | ---------- matches any value [INFO] [stdout] 117 | comp_order_by => select_order_by(), [INFO] [stdout] 118 | _ => errors::mostrar_error(errors::ErrorType::InvalidSintax, "Error al procesar la consulta"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let comp_where = "WHERE".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_where` [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let comp_where = "WHERE".to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_where` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_order_by` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let comp_order_by = "ORDER".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_order_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_where` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | comp_where => select_where(consulta, ruta), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_where` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_order_by` [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | comp_order_by => select_order_by(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_order_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `Write`, and `self` [INFO] [stdout] --> src/parser.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead, BufReader, BufWriter, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/insert.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/insert.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | comp_where => select_where(consulta, ruta), [INFO] [stdout] | ---------- matches any value [INFO] [stdout] 117 | comp_order_by => select_order_by(), [INFO] [stdout] | ^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let comp_where = "WHERE".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 116 | comp_where => select_where(consulta, ruta), [INFO] [stdout] | ---------- matches any value [INFO] [stdout] 117 | comp_order_by => select_order_by(), [INFO] [stdout] 118 | _ => errors::mostrar_error(errors::ErrorType::InvalidSintax, "Error al procesar la consulta"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let comp_where = "WHERE".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_where` [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let comp_where = "WHERE".to_string(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_where` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_order_by` [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let comp_order_by = "ORDER".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_order_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_where` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | comp_where => select_where(consulta, ruta), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_where` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comp_order_by` [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | comp_order_by => select_order_by(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_order_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "e53460bbdc7d343f8241ed5abeb842cba374804ad5354fa3261eeefa8e1cf01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e53460bbdc7d343f8241ed5abeb842cba374804ad5354fa3261eeefa8e1cf01e", kill_on_drop: false }` [INFO] [stdout] e53460bbdc7d343f8241ed5abeb842cba374804ad5354fa3261eeefa8e1cf01e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 08228cceb4d95ad556d99cf37496704b568851301b7c0f01eb7bafd97d7fd9a0 [INFO] running `Command { std: "docker" "start" "-a" "08228cceb4d95ad556d99cf37496704b568851301b7c0f01eb7bafd97d7fd9a0", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parser::tests::test_dividir_consulta ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unused import: `std::fmt::Error` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fmt::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufWriter`, `Write`, and `self` [INFO] [stderr] --> src/parser.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{self, BufRead, BufReader, BufWriter, Write}; [INFO] [stderr] | ^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/insert.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/insert.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:99:17 [INFO] [stderr] | [INFO] [stderr] 99 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 116 | comp_where => select_where(consulta, ruta), [INFO] [stderr] | ---------- matches any value [INFO] [stderr] 117 | comp_order_by => select_order_by(), [INFO] [stderr] | ^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stderr] --> src/main.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | let comp_where = "WHERE".to_string(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 116 | comp_where => select_where(consulta, ruta), [INFO] [stderr] | ---------- matches any value [INFO] [stderr] 117 | comp_order_by => select_order_by(), [INFO] [stderr] 118 | _ => errors::mostrar_error(errors::ErrorType::InvalidSintax, "Error al procesar la consulta"), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stderr] --> src/main.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | let comp_where = "WHERE".to_string(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comp_where` [INFO] [stderr] --> src/main.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | let comp_where = "WHERE".to_string(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_where` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comp_order_by` [INFO] [stderr] --> src/main.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | let comp_order_by = "ORDER".to_string(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_order_by` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comp_where` [INFO] [stderr] --> src/main.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | comp_where => select_where(consulta, ruta), [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_where` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comp_order_by` [INFO] [stderr] --> src/main.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | comp_order_by => select_order_by(), [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_order_by` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:207:17 [INFO] [stderr] | [INFO] [stderr] 207 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: `SQL` (bin "SQL") generated 14 warnings (run `cargo fix --bin "SQL"` to apply 2 suggestions) [INFO] [stderr] warning: `SQL` (bin "SQL" test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/SQL-77cee3cfa00b4c06) [INFO] [stderr] Running tests/tests_integracion.rs (/opt/rustwide/target/debug/deps/tests_integracion-a68a9818238aa485) [INFO] running `Command { std: "docker" "inspect" "08228cceb4d95ad556d99cf37496704b568851301b7c0f01eb7bafd97d7fd9a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08228cceb4d95ad556d99cf37496704b568851301b7c0f01eb7bafd97d7fd9a0", kill_on_drop: false }` [INFO] [stdout] 08228cceb4d95ad556d99cf37496704b568851301b7c0f01eb7bafd97d7fd9a0