[INFO] cloning repository https://github.com/nojirilucas/Sistema_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nojirilucas/Sistema_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnojirilucas%2FSistema_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnojirilucas%2FSistema_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bdfcb629a1677e7a279e22d93f4ce2754206717 [INFO] building nojirilucas/Sistema_Rust against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnojirilucas%2FSistema_Rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nojirilucas/Sistema_Rust [INFO] finished tweaking git repo https://github.com/nojirilucas/Sistema_Rust [INFO] tweaked toml for git repo https://github.com/nojirilucas/Sistema_Rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nojirilucas/Sistema_Rust on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nojirilucas/Sistema_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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 750f130ed7aa568ef4638d8b152ab246f015dee20b9e454fec13fbb747edee4e [INFO] running `Command { std: "docker" "start" "-a" "750f130ed7aa568ef4638d8b152ab246f015dee20b9e454fec13fbb747edee4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "750f130ed7aa568ef4638d8b152ab246f015dee20b9e454fec13fbb747edee4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "750f130ed7aa568ef4638d8b152ab246f015dee20b9e454fec13fbb747edee4e", kill_on_drop: false }` [INFO] [stdout] 750f130ed7aa568ef4638d8b152ab246f015dee20b9e454fec13fbb747edee4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92092a00cf1646476ddc7c395cd3497d6d78e14fdab00f73e15f33fb97661a13 [INFO] running `Command { std: "docker" "start" "-a" "92092a00cf1646476ddc7c395cd3497d6d78e14fdab00f73e15f33fb97661a13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling tp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Totalizavel` is never used [INFO] [stdout] --> src/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | trait Totalizavel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `produto`, `valor`, and `quantidade` are never read [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct ItemVenda { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 78 | produto: Produto, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | valor: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | quantidade: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl ItemVenda { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 84 | fn new(produto: Produto, quantidade: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `numero`, `data`, and `itens` are never read [INFO] [stdout] --> src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct Venda { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 101 | numero: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | data: NaiveDateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | clientes: Vec, [INFO] [stdout] 104 | itens: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `adicionar_item` and `valor_total_produtos` are never used [INFO] [stdout] --> src/main.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl Venda { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn adicionar_item(&mut self, item: ItemVenda) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn valor_total_produtos(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.41s [INFO] running `Command { std: "docker" "inspect" "92092a00cf1646476ddc7c395cd3497d6d78e14fdab00f73e15f33fb97661a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92092a00cf1646476ddc7c395cd3497d6d78e14fdab00f73e15f33fb97661a13", kill_on_drop: false }` [INFO] [stdout] 92092a00cf1646476ddc7c395cd3497d6d78e14fdab00f73e15f33fb97661a13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53c80d86c9c8f4008ff2fb8c3ae60444a8d3adfac9f399aaf2c08e0cf1cd4249 [INFO] running `Command { std: "docker" "start" "-a" "53c80d86c9c8f4008ff2fb8c3ae60444a8d3adfac9f399aaf2c08e0cf1cd4249", kill_on_drop: false }` [INFO] [stderr] Compiling tp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Totalizavel` is never used [INFO] [stdout] --> src/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | trait Totalizavel { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `produto`, `valor`, and `quantidade` are never read [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct ItemVenda { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 78 | produto: Produto, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 79 | valor: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | quantidade: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 83 | impl ItemVenda { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 84 | fn new(produto: Produto, quantidade: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `numero`, `data`, and `itens` are never read [INFO] [stdout] --> src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | struct Venda { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 101 | numero: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | data: NaiveDateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | clientes: Vec, [INFO] [stdout] 104 | itens: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `adicionar_item` and `valor_total_produtos` are never used [INFO] [stdout] --> src/main.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 107 | impl Venda { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn adicionar_item(&mut self, item: ItemVenda) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn valor_total_produtos(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "53c80d86c9c8f4008ff2fb8c3ae60444a8d3adfac9f399aaf2c08e0cf1cd4249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53c80d86c9c8f4008ff2fb8c3ae60444a8d3adfac9f399aaf2c08e0cf1cd4249", kill_on_drop: false }` [INFO] [stdout] 53c80d86c9c8f4008ff2fb8c3ae60444a8d3adfac9f399aaf2c08e0cf1cd4249